diff options
Diffstat (limited to 'ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java')
-rw-r--r-- | ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java index e79126ae2..184b4f80b 100644 --- a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java +++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java @@ -46,13 +46,8 @@ import javax.persistence.Transient; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.openecomp.policy.rest.XacmlAdminAuthorization; -import org.openecomp.policy.rest.jpa.UserInfo; -import com.att.research.xacml.api.Identifier; -import com.att.research.xacml.std.IdentifierImpl; -import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonManagedReference; /** * The persistent class for the Attribute database table. @@ -156,7 +151,7 @@ public class Attribute implements Serializable { this.userModifiedBy = userModifiedBy; } - private static Log logger = LogFactory.getLog(Attribute.class); + private static Log LOGGER = LogFactory.getLog(Attribute.class); public Attribute() { } @@ -194,9 +189,7 @@ public class Attribute implements Serializable { try { this.userModifiedBy = XacmlAdminAuthorization.getUserId(); } catch (Exception e) { - logger.error("Exception caused While adding Modified by Role"+e); - // TODO:EELF Cleanup - Remove logger - //PolicyLogger.error(MessageCodes.EXCEPTION_ERROR, e, "Attribute", "Exception caused While adding Modified by Role"); + LOGGER.error("Exception caused While adding Modified by Role"+e); } } |