Skip to content

Commit

Permalink
doc: Fix typo in code comments (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangZian committed Sep 10, 2020
1 parent d5eb5f4 commit 10aa39f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public Entry entry(ResourceWrapper resourceWrapper, int count, Object... args) t
* be created if the resource doesn't relate one.
*
* <p>Same resource({@link ResourceWrapper#equals(Object)}) will share the same
* {@link ProcessorSlotChain} globally, no matter in witch {@link Context}.<p/>
* {@link ProcessorSlotChain} globally, no matter in which {@link Context}.<p/>
*
* <p>
* Note that total {@link ProcessorSlot} count must not exceed {@link Constants#MAX_SLOT_CHAIN_SIZE},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class ClusterBuilderSlot extends AbstractLinkedProcessorSlot<DefaultNode>
/**
* <p>
* Remember that same resource({@link ResourceWrapper#equals(Object)}) will share
* the same {@link ProcessorSlotChain} globally, no matter in witch context. So if
* the same {@link ProcessorSlotChain} globally, no matter in which context. So if
* code goes into {@link #entry(Context, ResourceWrapper, DefaultNode, int, boolean, Object...)},
* the resource name must be same but context name may not.
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public interface Encoder<R> {
* Encode the given object into a byte array with the default charset.
*
* @param r the object to encode
* @return the encoded byte buffer, witch is already flipped.
* @return the encoded byte buffer, which is already flipped.
* @throws Exception error occurs when encoding the object (e.g. IO fails)
*/
byte[] encode(R r) throws Exception;
Expand Down

0 comments on commit 10aa39f

Please sign in to comment.