Policy 1707 commit to LF
[policy/engine.git] / ECOMP-PDP-REST / src / main / java / org / openecomp / policy / pdp / rest / impl / XACMLPdpPIPFinderFactory.java
index 3c8b67f..6de84d1 100644 (file)
@@ -36,7 +36,7 @@ import com.att.research.xacml.util.XACMLProperties;
 public class XACMLPdpPIPFinderFactory extends PIPFinderFactory {
        private ConfigurableEngineFinder pipFinder;
        
-       private static Log logger       = LogFactory.getLog(XACMLPdpPIPFinderFactory.class);
+       private static Log LOGGER       = LogFactory.getLog(XACMLPdpPIPFinderFactory.class);
        
        public XACMLPdpPIPFinderFactory() {
        }
@@ -49,15 +49,15 @@ public class XACMLPdpPIPFinderFactory extends PIPFinderFactory {
                if (pipFinder == null) {
                        synchronized(this) {
                                if (pipFinder == null) {
-                                       if (logger.isDebugEnabled()) {
-                                               logger.debug("Creating default configurable engine finder");
+                                       if (LOGGER.isDebugEnabled()) {
+                                               LOGGER.debug("Creating default configurable engine finder");
                                        }
                                        pipFinder                                       = new ConfigurableEngineFinder();
                                        Properties xacmlProperties      = null;
                                        try {
                                                xacmlProperties = XACMLProperties.getProperties();
                                        } catch (Exception ex) {
-                                               logger.error( XACMLErrorConstants.ERROR_SYSTEM_ERROR+ "Exception getting XACML properties: " + ex.getMessage(), ex);
+                                               LOGGER.error( XACMLErrorConstants.ERROR_SYSTEM_ERROR+ "Exception getting XACML properties: " + ex.getMessage(), ex);
                                                PolicyLogger.error(MessageCodes.ERROR_SYSTEM_ERROR, ex, "Exception getting XACML properties");
                                                return null;
                                        }
@@ -75,8 +75,8 @@ public class XACMLPdpPIPFinderFactory extends PIPFinderFactory {
                if (pipFinder == null) {
                        synchronized(this) {
                                if (pipFinder == null) {
-                                       if (logger.isDebugEnabled()) {
-                                               logger.debug("Creating configurable engine finder using: " + properties);
+                                       if (LOGGER.isDebugEnabled()) {
+                                               LOGGER.debug("Creating configurable engine finder using: " + properties);
                                        }
                                        pipFinder                                       = new ConfigurableEngineFinder();
                                        ((ConfigurableEngineFinder)pipFinder).configure(properties);