Fixed the Sonar technical debt.
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / jpa / Attribute.java
index 7285e2e..ea89eea 100644 (file)
@@ -151,6 +151,7 @@ public class Attribute implements Serializable {
 
        
        public Attribute() {
+               //An empty constructor
        }
        
        public Attribute(String domain) {
@@ -230,11 +231,7 @@ public class Attribute implements Serializable {
        public String getXacmlId() {
                return this.xacmlId;
        }
-       
-/*     @Transient
-       public Identifier getXacmlIdentifier() {
-               return new IdentifierImpl(this.xacmlId);
-       }*/
+
 
        public void setXacmlId(String xacmlId) {
                this.xacmlId = xacmlId;
@@ -332,7 +329,7 @@ public class Attribute implements Serializable {
 
        @Transient
        public boolean isDesignator() {
-               return (this.isDesignator == '1');
+               return this.isDesignator == '1';
        }
        
        @Transient