Skip to content

Commit 55acb38

Browse files
authored
fix comment typos (#15593)
* fix comment typos * fix * fix
1 parent 0fc2e06 commit 55acb38

32 files changed

Lines changed: 7 additions & 92 deletions

File tree

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/configurator/parser/model/ConfigItem.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626

2727
import static org.apache.dubbo.common.constants.LoggerCodeConstants.CLUSTER_FAILED_RECEIVE_RULE;
2828

29-
/**
30-
*
31-
*/
3229
public class ConfigItem {
3330
private static final ErrorTypeAwareLogger logger = LoggerFactory.getErrorTypeAwareLogger(ConfigItem.class);
3431

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/configurator/parser/model/ConfiguratorConfig.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
import java.util.Map;
2121
import java.util.stream.Collectors;
2222

23-
/**
24-
*
25-
*/
2623
public class ConfiguratorConfig {
2724
public static final String MATCH_CONDITION = "MATCH_CONDITION";
2825
public static final String SCOPE_SERVICE = "service";

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/ProtocolFilterWrapper.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232
import static org.apache.dubbo.common.constants.CommonConstants.REFERENCE_FILTER_KEY;
3333
import static org.apache.dubbo.common.constants.CommonConstants.SERVICE_FILTER_KEY;
3434

35-
/**
36-
* ListenerProtocol
37-
*/
3835
@Activate(order = 100)
3936
public class ProtocolFilterWrapper implements Protocol {
4037

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/AdaptiveLoadBalance.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
import static org.apache.dubbo.common.constants.CommonConstants.DEFAULT_TIMEOUT;
3434
import static org.apache.dubbo.common.constants.CommonConstants.LOADBALANCE_KEY;
3535

36-
/**
37-
* AdaptiveLoadBalance
38-
* </p>
39-
*/
4036
public class AdaptiveLoadBalance extends AbstractLoadBalance {
4137

4238
public static final String NAME = "adaptive";

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
* <p>
3131
* Filter the number of invokers with the least number of active calls and count the weights and quantities of these invokers.
3232
* If there is only one invoker, use the invoker directly;
33-
* if there are multiple invokers and the weights are not the same, then random according to the total weight;
34-
* if there are multiple invokers and the same weight, then randomly called.
33+
* If there are multiple invokers and the weights are not the same, then random according to the total weight;
34+
* If there are multiple invokers and the same weight, then randomly called.
3535
*/
3636
public class LeastActiveLoadBalance extends AbstractLoadBalance {
3737

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/ShortestResponseLoadBalance.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
* Filter the number of invokers with the shortest response time of
4141
* success calls and count the weights and quantities of these invokers in last slide window.
4242
* If there is only one invoker, use the invoker directly;
43-
* if there are multiple invokers and the weights are not the same, then random according to the total weight;
44-
* if there are multiple invokers and the same weight, then randomly called.
43+
* If there are multiple invokers and the weights are not the same, then random according to the total weight;
44+
* If there are multiple invokers and the same weight, then randomly called.
4545
*/
4646
public class ShortestResponseLoadBalance extends AbstractLoadBalance implements ScopeModelAware {
4747

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/ListenableStateRouter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public abstract class ListenableStateRouter<T> extends AbstractStateRouter<T> im
5858
private volatile AbstractRouterRule routerRule;
5959
private volatile List<ConditionStateRouter<T>> conditionRouters = Collections.emptyList();
6060

61-
// for v3.1
61+
// for v3.1
6262
private volatile List<MultiDestConditionRouter<T>> multiDestConditionRouters = Collections.emptyList();
6363
private final String ruleKey;
6464

@@ -79,7 +79,7 @@ public synchronized void process(ConfigChangedEvent event) {
7979
if (event.getChangeType().equals(ConfigChangeType.DELETED)) {
8080
routerRule = null;
8181
conditionRouters = Collections.emptyList();
82-
// for v3.1
82+
// for v3.1
8383
multiDestConditionRouters = Collections.emptyList();
8484
} else {
8585
try {

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/ProviderAppStateRouterFactory.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
import org.apache.dubbo.rpc.cluster.router.state.CacheableStateRouterFactory;
2222
import org.apache.dubbo.rpc.cluster.router.state.StateRouter;
2323

24-
/**
25-
* Tag router factory
26-
*/
2724
@Activate(order = 145)
2825
public class ProviderAppStateRouterFactory extends CacheableStateRouterFactory {
2926

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/model/ConditionRuleParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static AbstractRouterRule parse(String rawRule) {
6868
"Ignore this configuration. Only " + RULE_VERSION_V31 + " and below are supported in this release");
6969
rule = null;
7070
} else {
71-
// for under v3.1
71+
// for under v3.1
7272
rule = ConditionRouterRule.parseFromMap(map);
7373
if (CollectionUtils.isEmpty(((ConditionRouterRule) rule).getConditions())) {
7474
rule.setValid(false);

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/matcher/pattern/ValuePattern.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
import org.apache.dubbo.common.extension.SPI;
2121
import org.apache.dubbo.rpc.Invocation;
2222

23-
/**
24-
*
25-
*/
2623
@SPI
2724
public interface ValuePattern {
2825
/**

0 commit comments

Comments
 (0)