From 1cfe90dc75d09ad994cbf5165b59edb54d24eb2f Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 15 Oct 2015 08:55:22 +0200 Subject: [PATCH] =?utf8?q?null=20first,=20then=20variable=20to=20test=20Si?= =?utf8?q?gned-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../mxchange/jcoreee/validator/bool/BaseBooleanValidator.java | 2 +- .../mxchange/jcoreee/validator/number/BaseLongValidator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/mxchange/jcoreee/validator/bool/BaseBooleanValidator.java b/src/org/mxchange/jcoreee/validator/bool/BaseBooleanValidator.java index 5ddf0ff..bc8bcea 100644 --- a/src/org/mxchange/jcoreee/validator/bool/BaseBooleanValidator.java +++ b/src/org/mxchange/jcoreee/validator/bool/BaseBooleanValidator.java @@ -105,7 +105,7 @@ public abstract class BaseBooleanValidator extends BaseObjectValidator implement } // Is facesMessage set? - if (facesMessage != null) { + if (null != facesMessage) { // Abort here throw new ValidatorException(facesMessage); } diff --git a/src/org/mxchange/jcoreee/validator/number/BaseLongValidator.java b/src/org/mxchange/jcoreee/validator/number/BaseLongValidator.java index e3ed157..e45de73 100644 --- a/src/org/mxchange/jcoreee/validator/number/BaseLongValidator.java +++ b/src/org/mxchange/jcoreee/validator/number/BaseLongValidator.java @@ -106,7 +106,7 @@ public abstract class BaseLongValidator extends BaseObjectValidator implements V } // Is facesMessage set? - if (facesMessage != null) { + if (null != facesMessage) { // Abort here throw new ValidatorException(facesMessage); } -- 2.39.5