From: Arundathi Patil Date: Thu, 3 Jan 2019 08:33:42 +0000 (+0530) Subject: Sonar fix: Role.java X-Git-Tag: 2.1.9~68^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aaf%2Fauthz.git;a=commitdiff_plain;h=c0a4dbb97f95f9902cbf685312fd49300433c6be Sonar fix: Role.java Fixed sonar issues/code-smells across this file Issue-ID: AAF-690 Change-Id: Idb0269ee2c2072c62e41faeb1526a6aa88ebc40f Signed-off-by: Arundathi Patil --- diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java index 4b4a2551..6d87dedc 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.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. @@ -44,8 +46,11 @@ public class Role implements Comparable { public static final TreeMap byName = new TreeMap<>(); private static List deleteRoles = new ArrayList<>(); - public final String ns, name, description; - private String full, encode; + public final String ns; + public final String name; + public final String description; + private String full; + private String encode; public final Set perms; public Role(String full) {