瀏覽代碼

doc: Fix typo in code comments (#1721)

master
M4Y GitHub 4 年之前
父節點
當前提交
10aa39f822
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 3 個檔案被更改,包括 3 行新增3 行删除
  1. +1
    -1
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/CtSph.java
  2. +1
    -1
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/clusterbuilder/ClusterBuilderSlot.java
  3. +1
    -1
      sentinel-transport/sentinel-transport-netty-http/src/main/java/com/alibaba/csp/sentinel/transport/command/codec/Encoder.java

+ 1
- 1
sentinel-core/src/main/java/com/alibaba/csp/sentinel/CtSph.java 查看文件

@@ -181,7 +181,7 @@ public class CtSph implements Sph {
* 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},


+ 1
- 1
sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/clusterbuilder/ClusterBuilderSlot.java 查看文件

@@ -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>


+ 1
- 1
sentinel-transport/sentinel-transport-netty-http/src/main/java/com/alibaba/csp/sentinel/transport/command/codec/Encoder.java 查看文件

@@ -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;


Loading…
取消
儲存