mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-29 04:13:00 +08:00
Update AclUtils.java (#6689)
This commit is contained in:
@@ -144,16 +144,12 @@ public class AclUtils {
|
||||
}
|
||||
|
||||
public static boolean isScope(String[] num, int index) {
|
||||
if (num.length <= index) {
|
||||
|
||||
}
|
||||
for (int i = 0; i < index; i++) {
|
||||
if (!isScope(num[i])) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
public static boolean isColon(String netAddress) {
|
||||
|
||||
Reference in New Issue
Block a user