diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2019-12-02 23:38:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-02 23:38:35 +0000 |
commit | 0c4581c84bf96fe3b6e5b6cfeff69ebb42de48c0 (patch) | |
tree | b5a28feb93e8ce6df70d3bf628b5e4098d0be62b /auth/auth-cmd/src/main/java | |
parent | 2094293b407f23e08e3911d267e72651c099c653 (diff) | |
parent | dee6db9fa7d3ef202a1aa53bbd5b979b040fa212 (diff) |
Merge "Owner,Delete files-removing useless assignments"
Diffstat (limited to 'auth/auth-cmd/src/main/java')
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java | 2 | ||||
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java index fd43e8da..e93ec052 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java @@ -49,7 +49,7 @@ public class Owner extends BaseCmd<NS> { final int option = whichOption(options, args[idx++]); final String ns = args[idx++]; - final String ids[] = args[idx++].split(","); + final String ids[] = args[idx].split(","); return same(new Retryable<Integer>() { @Override diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java index fc1f9363..f53ca4c8 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java @@ -57,7 +57,7 @@ public class Delete extends Cmd { PermRequest pk = new PermRequest(); pk.setType(args[idx++]); pk.setInstance(args[idx++]); - pk.setAction(args[idx++]); + pk.setAction(args[idx]); if(pk.getType().contains("@")) { // User Perm deletion... Must remove from hidden role client.setQueryParams("force"); |