ListActivity,Rename.java-removing the useless assignments
[aaf/authz.git] / auth / auth-cmd / src / main / java / org / onap / aaf / auth / cmd / perm / ListActivity.java
index 6400aad..4272522 100644 (file)
@@ -51,8 +51,7 @@ public class ListActivity extends Cmd {
         return same(new Retryable<Integer>() {
             @Override
             public Integer code(Rcli<?> client) throws CadiException, APIException {
-                int idx = index;
-                String type = args[idx++];
+                String type = args[index];
                 Future<History> fp = client.read(
                         "/authz/hist/perm/"+type,
                         getDF(History.class)