diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2019-12-02 23:38:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-02 23:38:05 +0000 |
commit | 2094293b407f23e08e3911d267e72651c099c653 (patch) | |
tree | 32ef66f74c627879c4f143e0044bb10e28aa6a1b /auth/auth-cmd | |
parent | d131f7ed38fd65d7f04b7d71368ba03e9000665c (diff) | |
parent | 6470f23997c98997c76ba9161bac68ea685550d8 (diff) |
Merge "Grant.java-removing useless assignments"
Diffstat (limited to 'auth/auth-cmd')
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Grant.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Grant.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Grant.java index eb206970..3770a58c 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Grant.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Grant.java @@ -74,7 +74,7 @@ public class Grant extends Cmd { Future<RolePermRequest> frpr = null; - String[] roles = args[idx++].split(","); + String[] roles = args[idx].split(","); String strA; String strB; for (String role : roles) { @@ -110,7 +110,6 @@ public class Grant extends Cmd { pw().println(" Accepted, but requires Approvals before actualizing"); } else { error(frpr); - idx=Integer.MAX_VALUE; } } } |