From 2b5f50fa08d5fc2454fe4edcc0770de29dd95c21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 27 Jun 2017 00:29:59 +0200 Subject: [PATCH] Cleanups: - removed no longer used imports - first method, then value is fine MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- src/org/mxchange/jcoreee/bean/BaseBean.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/org/mxchange/jcoreee/bean/BaseBean.java b/src/org/mxchange/jcoreee/bean/BaseBean.java index ef7f11d..c6d4816 100644 --- a/src/org/mxchange/jcoreee/bean/BaseBean.java +++ b/src/org/mxchange/jcoreee/bean/BaseBean.java @@ -19,11 +19,7 @@ package org.mxchange.jcoreee.bean; import java.io.Serializable; import java.security.Principal; import java.text.MessageFormat; -import java.util.Locale; -import java.util.MissingResourceException; -import java.util.ResourceBundle; import javax.faces.FacesException; -import javax.faces.application.FacesMessage; import javax.faces.context.FacesContext; import javax.jms.Connection; import javax.jms.JMSException; @@ -196,7 +192,7 @@ public abstract class BaseBean implements Serializable { if (null == message) { // Throw NPE throw new NullPointerException("message is null"); //NOI18N - } else if (null == this.getMessageProducer()) { + } else if (this.getMessageProducer() == null) { // Throw NPE again throw new NullPointerException("this.messageProvider is null"); //NOI18N } -- 2.39.5