From c0a4dbb97f95f9902cbf685312fd49300433c6be Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Thu, 3 Jan 2019 14:03:42 +0530 Subject: [PATCH] Sonar fix: Role.java Fixed sonar issues/code-smells across this file Issue-ID: AAF-690 Change-Id: Idb0269ee2c2072c62e41faeb1526a6aa88ebc40f Signed-off-by: Arundathi Patil --- .../src/main/java/org/onap/aaf/auth/batch/helpers/Role.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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) { -- 2.16.6