Fixed the Sonar technical debt.
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / jpa / ActionPolicyDict.java
index bf8a731..fff1bf8 100644 (file)
@@ -118,7 +118,7 @@ public class ActionPolicyDict implements Serializable {
 
        private static Log logger = LogFactory.getLog(ActionPolicyDict.class);
        public ActionPolicyDict() {
-               
+               //An empty constructor
        }
        
        public ActionPolicyDict(String string, String userid) {
@@ -138,10 +138,9 @@ public class ActionPolicyDict implements Serializable {
        public void preUpdate() {
                this.modifiedDate = new Date();
                try {
-                       this.userModifiedBy =XacmlAdminAuthorization.getUserId();;
+                       this.userModifiedBy =XacmlAdminAuthorization.getUserId();
                } catch (Exception e) {
                        logger.error("Exception caused While adding Modified by Role"+e);
-                       //PolicyLogger.error(MessageCodes.EXCEPTION_ERROR, e, "ActionPolicyDict", "Exception caused While adding Modified by Role");
                }
        }
        public int getId() {