Merge "AAFcli.java -Declare "value" on a separate line"
[aaf/authz.git] / auth / auth-cmd / src / main / java / org / onap / aaf / auth / cmd / DeprecatedCMD.java
index b13c733..cb9eb7c 100644 (file)
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,25 +29,25 @@ import org.onap.aaf.misc.env.APIException;
 /**
  * Use this class to deprecate methods and features, by pointing to the new
  * usages.
- * 
+ *
  * These commands will not show up in Help
  * @author Jonathan
  *
  * @param <X>
  */
 public class DeprecatedCMD<X extends Cmd> extends BaseCmd<X> {
-       private String text;
+    private String text;
 
-       @SuppressWarnings("unchecked")
-       public DeprecatedCMD(Cmd cmd, String name, String text) {
-               super((X)cmd,name);
-               this.text = text;
-       }
+    @SuppressWarnings("unchecked")
+    public DeprecatedCMD(Cmd cmd, String name, String text) {
+        super((X)cmd,name);
+        this.text = text;
+    }
 
-       @Override
-       public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException {
-               pw().println(text);
-               return _idx;
-       }
+    @Override
+    public int _exec(int idx, final String ... args) throws CadiException, APIException, LocatorException {
+        pw().println(text);
+        return idx;
+    }
 
 }