X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=ONAP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Frest%2Fjpa%2FDecisionSettings.java;h=e0ed676d70a184474ab58f872db5f3f87b870ea1;hp=164cc3cef4e2fa18f2810d52dfe7fb01aa1545cd;hb=401b48bc573561f097960a9ca7abe6d788456f28;hpb=9301fed7c290f52208922f780fdfe4b5a880b5aa diff --git a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DecisionSettings.java b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DecisionSettings.java index 164cc3cef..e0ed676d7 100644 --- a/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DecisionSettings.java +++ b/ONAP-REST/src/main/java/org/onap/policy/rest/jpa/DecisionSettings.java @@ -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;