Sonar fix: CreateDelete.java 08/75308/1
authorArundathi Patil <arundpil@in.ibm.com>
Fri, 4 Jan 2019 18:27:24 +0000 (23:57 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Fri, 4 Jan 2019 18:27:41 +0000 (23:57 +0530)
Fixed sonar issues/code-smells across this file

Issue-ID: AAF-702
Change-Id: I715163242fe7a7659962ea01fd2594bd0e01dbbd
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/CreateDelete.java

index 320bac5..e44185e 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.
@@ -41,7 +43,7 @@ import aaf.v2_0.RoleRequest;
  */
 public class CreateDelete extends Cmd {
     private static final String ROLE_PATH = "/authz/role";
-    private final static String[] options = {"create","delete"};
+    private static final String[] options = {"create","delete"};
     public CreateDelete(Role parent) {
         super(parent,null, 
                 new Param(optionsToString(options),true),