From dee6db9fa7d3ef202a1aa53bbd5b979b040fa212 Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Thu, 7 Nov 2019 12:51:21 +0530 Subject: Owner,Delete files-removing useless assignments Issue-ID: AAF-876 Change-Id: I101010f20fc37872c740d68fee4083ce9feb92da Signed-off-by: Thugutla sailakshmi --- auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Owner.java | 2 +- auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/perm/Delete.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'auth') 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 { 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() { @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"); -- cgit 1.2.3-korg