Merge "Sonar fix: Role.java"
authorJonathan Gathman <jonathan.gathman@att.com>
Thu, 3 Jan 2019 16:30:25 +0000 (16:30 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 3 Jan 2019 16:30:25 +0000 (16:30 +0000)
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) {