summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-01-04 23:57:24 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2019-01-04 23:57:41 +0530
commit63059ca9459ad74058c10d53a260af4f20ed9790 (patch)
tree5255e46373536471f9d6555081e1ff0345d48158
parenteba580dcfdfc2f878285b6040632ada96f4c9378 (diff)
Sonar fix: CreateDelete.java
Fixed sonar issues/code-smells across this file Issue-ID: AAF-702 Change-Id: I715163242fe7a7659962ea01fd2594bd0e01dbbd Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r--auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/CreateDelete.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/CreateDelete.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/CreateDelete.java
index 320bac5b..e44185ec 100644
--- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/CreateDelete.java
+++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/CreateDelete.java
@@ -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),