Sonar fix: Attrib.java 56/75356/1
authorArundathi Patil <arundpil@in.ibm.com>
Mon, 7 Jan 2019 11:21:29 +0000 (16:51 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Mon, 7 Jan 2019 11:22:06 +0000 (16:52 +0530)
Fixed sonar issues/code-smells across this file

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

index 77b1445..feade45 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.
@@ -33,7 +35,7 @@ import org.onap.aaf.cadi.client.Retryable;
 import org.onap.aaf.misc.env.APIException;
 
 public class Attrib extends BaseCmd<NS> {
-    private final static String[] options = {"add","upd","del"};
+    private static final String[] options = {"add","upd","del"};
     private String authzString = "/authz/ns/";
     private String atrributeString = "/attrib/";