From 63059ca9459ad74058c10d53a260af4f20ed9790 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Fri, 4 Jan 2019 23:57:24 +0530 Subject: [PATCH] Sonar fix: CreateDelete.java Fixed sonar issues/code-smells across this file Issue-ID: AAF-702 Change-Id: I715163242fe7a7659962ea01fd2594bd0e01dbbd Signed-off-by: Arundathi Patil --- .../src/main/java/org/onap/aaf/auth/cmd/role/CreateDelete.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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), -- 2.16.6