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;
*/
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 {