Mass removal of all Tabs (Style Warnings)
[aaf/authz.git] / auth / auth-cmd / src / main / java / org / onap / aaf / auth / cmd / role / ListActivity.java
index 0331ae0..1f6f18f 100644 (file)
@@ -39,37 +39,37 @@ import aaf.v2_0.History;
  *
  */
 public class ListActivity extends Cmd {
-       private static final String HEADER = "List Activity of Role";
+    private static final String HEADER = "List Activity of Role";
 
-       public ListActivity(List parent) {
-               super(parent,"activity", 
-                               new Param("name",true));
-       }
+    public ListActivity(List parent) {
+        super(parent,"activity", 
+                new Param("name",true));
+    }
 
-       @Override
-       public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException {
-               int idx = _idx;
-               final String role = args[idx++];
-               return same(new Retryable<Integer>() {
-                       @Override
-                       public Integer code(Rcli<?> client) throws CadiException, APIException {
-                               Future<History> fp = client.read(
-                                               "/authz/hist/role/"+role, 
-                                               getDF(History.class)
-                                               );
-                               if(fp.get(AAFcli.timeout())) {
-                                       activity(fp.value,HEADER + " [ " + role + " ]");
-                               } else {
-                                       error(fp);
-                               }
-                               return fp.code();
-                       }
-               });
-       }
+    @Override
+    public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException {
+            int idx = _idx;
+        final String role = args[idx++];
+        return same(new Retryable<Integer>() {
+            @Override
+            public Integer code(Rcli<?> client) throws CadiException, APIException {
+                Future<History> fp = client.read(
+                        "/authz/hist/role/"+role, 
+                        getDF(History.class)
+                        );
+                if(fp.get(AAFcli.timeout())) {
+                    activity(fp.value,HEADER + " [ " + role + " ]");
+                } else {
+                    error(fp);
+                }
+                return fp.code();
+            }
+        });
+    }
 
-       @Override
-       public void detailedHelp(int indent, StringBuilder sb) {
-               detailLine(sb,indent,HEADER);
-               api(sb,indent,HttpMethods.GET,"authz/hist/role/<role>",History.class,true);
-       }
+    @Override
+    public void detailedHelp(int indent, StringBuilder sb) {
+        detailLine(sb,indent,HEADER);
+        api(sb,indent,HttpMethods.GET,"authz/hist/role/<role>",History.class,true);
+    }
 }