Sonar fix: Role.java 06/75206/1
authorArundathi Patil <arundpil@in.ibm.com>
Thu, 3 Jan 2019 08:33:42 +0000 (14:03 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Thu, 3 Jan 2019 08:33:49 +0000 (14:03 +0530)
Fixed sonar issues/code-smells across this file

Issue-ID: AAF-690
Change-Id: Idb0269ee2c2072c62e41faeb1526a6aa88ebc40f
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java

index 4b4a255..6d87ded 100644 (file)
@@ -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) {