Fixed the Sonar technical debt.
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / jpa / DecisionSettings.java
index 164cc3c..e0ed676 100644 (file)
@@ -110,6 +110,7 @@ public class DecisionSettings implements Serializable {
        }
        
        public DecisionSettings() {
+               //An empty constructor
        }
        
        public DecisionSettings(String domain) {
@@ -144,7 +145,7 @@ public class DecisionSettings implements Serializable {
        public void preUpdate() {
                this.modifiedDate = new Date();
                try {
-                       this.userModifiedBy = XacmlAdminAuthorization.getUserId();;
+                       this.userModifiedBy = XacmlAdminAuthorization.getUserId();
                } catch (Exception e) {
                        PolicyLogger.error(MessageCodes.EXCEPTION_ERROR, e, "DecisionSettings", "Exception caused While adding Modified by Role");
                }
@@ -186,11 +187,6 @@ public class DecisionSettings 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;