diff --git a/dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/loadbalance/RoundRobinLoadBalanceTest.java b/dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/loadbalance/RoundRobinLoadBalanceTest.java index f201bbf7dbf..ded784724a3 100644 --- a/dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/loadbalance/RoundRobinLoadBalanceTest.java +++ b/dubbo-cluster/src/test/java/org/apache/dubbo/rpc/cluster/loadbalance/RoundRobinLoadBalanceTest.java @@ -102,7 +102,7 @@ void testSelectByWeight() { @Test void testNodeCacheShouldNotRecycle() { int loop = 10000; - // tmperately add a new invoker + // temperately add a new invoker weightInvokers.add(weightInvokerTmp); try { Map resultMap = getWeightedInvokeResult(loop, RoundRobinLoadBalance.NAME); @@ -143,7 +143,7 @@ void testNodeCacheShouldRecycle() { } int loop = 10000; - // tmperately add a new invoker + // temperately add a new invoker weightInvokers.add(weightInvokerTmp); try { Map resultMap = getWeightedInvokeResult(loop, RoundRobinLoadBalance.NAME); diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java index 913785a9c50..338962817df 100644 --- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java +++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java @@ -883,7 +883,7 @@ private void postProcessConfig() { /** * Return if ReferenceConfig has been initialized - * Note: Cannot use `isInitilized` as it may be treated as a Java Bean property + * Note: Cannot use `isInitialized` as it may be treated as a Java Bean property * * @return initialized */ diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractInterfaceBuilder.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractInterfaceBuilder.java index 1d43765bfd7..ee0b529d0c1 100644 --- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractInterfaceBuilder.java +++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractInterfaceBuilder.java @@ -53,7 +53,7 @@ public abstract class AbstractInterfaceBuilder< protected MonitorConfig monitor; /** - * Strategies for generating dynamic agents,there are two strategies can be choosed: jdk and javassist + * Strategies for generating dynamic agents,there are two strategies can be chosen: jdk and javassist */ protected String proxy; diff --git a/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/issues/issue6000/Issue6000Test.java b/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/issues/issue6000/Issue6000Test.java index 92b3baeebbd..964ed9c777a 100644 --- a/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/issues/issue6000/Issue6000Test.java +++ b/dubbo-config/dubbo-config-spring/src/test/java/org/apache/dubbo/config/spring/issues/issue6000/Issue6000Test.java @@ -31,7 +31,7 @@ /** * The test-case for https://github.com/apache/dubbo/issues/6000 - * Autowired a ReferenceBean failed in some situation in Spring enviroment + * Autowired a ReferenceBean failed in some situation in Spring environment */ @Configuration @EnableDubbo