diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-01-03 14:03:42 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2019-01-03 14:03:49 +0530 |
commit | c0a4dbb97f95f9902cbf685312fd49300433c6be (patch) | |
tree | ca9b0c5d87cce94d9273f62fcf73514b4e7151c3 | |
parent | da120047d0da2b940947312b55da8098724e6a75 (diff) |
Sonar fix: Role.java
Fixed sonar issues/code-smells across this file
Issue-ID: AAF-690
Change-Id: Idb0269ee2c2072c62e41faeb1526a6aa88ebc40f
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r-- | auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java | 9 |
1 files 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<Role> { public static final TreeMap<String,Role> byName = new TreeMap<>(); private static List<Role> 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<String> perms; public Role(String full) { |