Sonar fix: Role.java
[aaf/authz.git] / auth / auth-cmd / src / main / java / org / onap / aaf / auth / cmd / role / Role.java
index f28654e..459848a 100644 (file)
@@ -3,6 +3,8 @@
  * org.onap.aaf
  * ===========================================================================
  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2019 IBM.
  * ===========================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,14 +28,14 @@ import org.onap.aaf.auth.cmd.BaseCmd;
 import org.onap.aaf.misc.env.APIException;
 
 public class Role extends BaseCmd<Role> {
-       public List list;
+    public List list;
 
-       public Role(AAFcli aafcli) throws APIException {
-               super(aafcli, "role");
-               cmds.add(new CreateDelete(this));
-//             cmds.add(new Delete(this));
-               cmds.add(new User(this));
-               cmds.add(new Describe(this));
-               cmds.add(list = new List(this));
-       }
+    public Role(AAFcli aafcli) {
+        super(aafcli, "role");
+        cmds.add(new CreateDelete(this));
+        cmds.add(new User(this));
+        cmds.add(new Describe(this));
+        list = new List(this);
+        cmds.add(list);
+    }
 }