From 8e1593cd172d314842970ce332ac56712181ee7f Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 7 Jan 2019 16:51:29 +0530 Subject: [PATCH] Sonar fix: Attrib.java Fixed sonar issues/code-smells across this file Issue-ID: AAF-703 Change-Id: Ief95bc3d1e2fd0e0298be0bde915aa139e6dc117 Signed-off-by: Arundathi Patil --- auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Attrib.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Attrib.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Attrib.java index 77b14456..feade450 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Attrib.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/ns/Attrib.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. @@ -33,7 +35,7 @@ import org.onap.aaf.cadi.client.Retryable; import org.onap.aaf.misc.env.APIException; public class Attrib extends BaseCmd { - 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/"; -- 2.16.6