This is an automated email from the ASF dual-hosted git repository.

aaronai pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new d9223ffd7 Update AclUtils.java (#6689)
d9223ffd7 is described below

commit d9223ffd787099285cb728d176a05795f6f56df6
Author: maheshnikam <[email protected]>
AuthorDate: Fri May 5 15:08:17 2023 +0530

    Update AclUtils.java (#6689)
---
 acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java 
b/acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java
index 0e454eded..65f04f543 100644
--- a/acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java
+++ b/acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java
@@ -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) {

Reply via email to