diff options
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/DeprecatedCMD.java | 4 | ||||
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Help.java | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/DeprecatedCMD.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/DeprecatedCMD.java index dad2076f..6082fac8 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/DeprecatedCMD.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/DeprecatedCMD.java @@ -45,9 +45,9 @@ public class DeprecatedCMD<X extends Cmd> extends BaseCmd<X> { } @Override - public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException { + public int _exec(int idx, final String ... args) throws CadiException, APIException, LocatorException { pw().println(text); - return _idx; + return idx; } } diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Help.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Help.java index 66a3355a..12cf0635 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Help.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Help.java @@ -38,8 +38,8 @@ public class Help extends Cmd { } @Override - public int _exec( int _idx, final String ... args) throws CadiException, APIException, LocatorException { - int idx = _idx; + public int _exec( int idxValue, final String ... args) throws CadiException, APIException, LocatorException { + int idx = idxValue; boolean first = true; StringBuilder sb = new StringBuilder("AAF Command Line Tool"); StringBuilder details; @@ -75,7 +75,6 @@ public class Help extends Cmd { c.build(sb,details); if (details!=null) { c.detailedHelp(4, sb); - // multiChar(sb,80,'-',2); } } } @@ -86,8 +85,8 @@ public class Help extends Cmd { } @Override - public void detailedHelp(int _indent, StringBuilder sb) { - int indent = _indent; + public void detailedHelp(int indentValue, StringBuilder sb) { + int indent = indentValue; detailLine(sb,indent,"To print main help, enter \"aafcli\" or \"aafcli --help \""); detailLine(sb,indent,"To print narrow the help content, enter sub-entries after aafcli,"); detailLine(sb,indent+2,"i.e. \"aafcli perm\""); |