Transport DTO up
[portal.git] / portal-BE / src / main / java / org / onap / portal / logging / logic / EPLogUtil.java
index 719e73c..00de83d 100644 (file)
@@ -45,7 +45,7 @@ import static com.att.eelf.configuration.Configuration.MDC_ALERT_SEVERITY;
 import com.att.eelf.configuration.EELFLogger;
 import com.att.eelf.configuration.EELFManager;
 import java.text.MessageFormat;
-import org.onap.portalapp.portal.logging.format.EPAppMessagesEnum;
+import org.onap.portal.logging.format.EPAppMessagesEnum;
 import org.onap.portalsdk.core.logging.format.AlarmSeverityEnum;
 import org.onap.portalsdk.core.logging.format.ErrorSeverityEnum;
 import org.onap.portalsdk.core.logging.logic.EELFLoggerDelegate;
@@ -173,7 +173,7 @@ public class EPLogUtil {
         */
        private static String formatMessage(String message, Object... args) {
                StringBuilder sbFormattedMessage = new StringBuilder();
-               if (args != null && args.length > 0 && message != null && message != "") {
+               if (args != null && args.length > 0 && message != null && !message.equals("")) {
                        MessageFormat mf = new MessageFormat(message);
                        sbFormattedMessage.append(mf.format(args));
                } else {