Pārlūkot izejas kodu

doc: Fix incorrect comment in FlowRuleComparator (#1915)

master
brothelul GitHub pirms 4 gadiem
vecāks
revīzija
b2502326cd
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleComparator.java

+ 1
- 1
sentinel-core/src/main/java/com/alibaba/csp/sentinel/slots/block/flow/FlowRuleComparator.java Parādīt failu

@@ -28,7 +28,7 @@ public class FlowRuleComparator implements Comparator<FlowRule> {

@Override
public int compare(FlowRule o1, FlowRule o2) {
// Clustered mode will be on the top.
// the FlowRule in Clustered mode will be put at the end.
if (o1.isClusterMode() && !o2.isClusterMode()) {
return 1;
}


Notiek ielāde…
Atcelt
Saglabāt