Sonar fix: NS.java 57/75357/1
authorArundathi Patil <arundpil@in.ibm.com>
Mon, 7 Jan 2019 11:31:47 +0000 (17:01 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Mon, 7 Jan 2019 11:31:55 +0000 (17:01 +0530)
Fixed sonar issues/code-smells across this file

Issue-ID: AAF-704
Change-Id: I2eba51c5bdaa61a417f0ecbbe797109ab6476e5e
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/NS.java

index 6a64573..3f601b7 100644 (file)
@@ -3,6 +3,8 @@
  * org.onap.aaf
  * ===========================================================================
  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2018 IBM.
  * ===========================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -27,11 +29,9 @@ import org.onap.aaf.auth.cmd.DeprecatedCMD;
 import org.onap.aaf.misc.env.APIException;
 
 public class NS extends BaseCmd<NS> {
-//    final Role role;
 
-    public NS(AAFcli aafcli) throws APIException {
+    public NS(AAFcli aafcli) {
         super(aafcli, "ns");
-//        this.role = role;
     
         cmds.add(new Create(this));
         cmds.add(new Delete(this));