Salome HOME
"Mark as reference" and "Remove as reference" functionality is implemented.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / kernel / Role.java
index 512e59aed2db88483d28558f8c72c6c38a026dec..c796bd2456cda63119c0b287b57755326b674c01 100644 (file)
@@ -25,7 +25,7 @@ public class Role {
     protected Role () {
     }
 //  Initialization constructor
-    protected Role (String username, String role) {
+    protected Role (final String username, final String role) {
 //  ---------------------------------------------
       this.username = username;
       this.role     = role;
@@ -35,7 +35,7 @@ public class Role {
 //  Protected member functions
 //  ==============================================================================================================================
 
-    protected void addRole (String role) {
+    protected void addRole (final String role) {
 //  ------------------------------------
       this.role = this.role + "," + role;
     }
@@ -59,13 +59,14 @@ public class Role {
       return role;
     }
 
-    public boolean is (String name) {
+    public boolean is (final String name) {
 //  -------------------------------
       return  this.role.equals(name);
     }
 
-    public boolean isSame (Role other) {
+    public boolean isSame (final Role other) {
 //  ----------------------------------         
       return  this.role.equals(other.role);
     }
+    
 }
\ No newline at end of file