Deprecated.java and Help.java: Sonar issue

Fixed major sonar issues in help.java and deprecated.java files.

Issue-ID: AAF-481
Change-Id: I3855e0cc442a929fcba785c011f4f84ccad3545a
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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 dad2076..6082fac 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 @@
     }
 
     @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 66a3355..12cf063 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 @@
     }
 
     @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 @@
                         c.build(sb,details);
                         if (details!=null) {
                             c.detailedHelp(4, sb);
-    //                    multiChar(sb,80,'-',2);
                         }
                     }
                 }
@@ -86,8 +85,8 @@
     }
     
     @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\"");