From: Roland Haeder Date: Thu, 24 Sep 2015 13:09:41 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02f97bea8b752ad978c5824870cd65554bdc2b96;p=jcoreee.git Continued: - auto-reformatted many files - updated jars Signed-off-by:Roland Häder --- diff --git a/lib/jcore-logger-lib.jar b/lib/jcore-logger-lib.jar index ca19891..ccc4dab 100644 Binary files a/lib/jcore-logger-lib.jar and b/lib/jcore-logger-lib.jar differ diff --git a/lib/jcore.jar b/lib/jcore.jar index 57dc0a0..c0bdbee 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/src/org/mxchange/jcoreee/BaseEeSystem.java b/src/org/mxchange/jcoreee/BaseEeSystem.java index 8ca3542..5e6ba73 100644 --- a/src/org/mxchange/jcoreee/BaseEeSystem.java +++ b/src/org/mxchange/jcoreee/BaseEeSystem.java @@ -43,6 +43,15 @@ public class BaseEeSystem implements Serializable { this.bundle = ResourceBundle.getBundle("org/mxchange/localization/bundle"); } + /** + * Getter for bundle instance + * + * @return Bundle instance + */ + protected ResourceBundle getBundle () { + return this.bundle; + } + /** * Getter for message from given key * @@ -59,13 +68,4 @@ public class BaseEeSystem implements Serializable { // Return message return this.getBundle().getString(key); } - - /** - * Getter for bundle instance - * - * @return Bundle instance - */ - protected ResourceBundle getBundle () { - return this.bundle; - } } diff --git a/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java b/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java index 308a82e..90c931b 100644 --- a/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java +++ b/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java @@ -103,6 +103,7 @@ public abstract class BaseObjectValidator extends BaseEeSystem implements Valida // Debug message //this.getLogger().logDebug(MessageFormat.format("preValidate: isValidField={0}", isValidField)); //NOI18N + // Valid field? if (!isValidField) { // Invalid field @@ -111,6 +112,7 @@ public abstract class BaseObjectValidator extends BaseEeSystem implements Valida // Debug message //this.getLogger().logDebug(MessageFormat.format("preValidate: facesMessage={0}", facesMessage)); //NOI18N + // Is it not null? if (null != facesMessage) { throw new ValidatorException(facesMessage); diff --git a/src/org/mxchange/jcoreee/validator/bool/privacy_terms/PrivacyTermsCheckboxValidator.java b/src/org/mxchange/jcoreee/validator/bool/privacy_terms/PrivacyTermsCheckboxValidator.java index 076a73e..d0c33f8 100644 --- a/src/org/mxchange/jcoreee/validator/bool/privacy_terms/PrivacyTermsCheckboxValidator.java +++ b/src/org/mxchange/jcoreee/validator/bool/privacy_terms/PrivacyTermsCheckboxValidator.java @@ -28,6 +28,7 @@ import org.mxchange.jcoreee.validator.bool.BaseBooleanValidator; * @author Roland Haeder */ public class PrivacyTermsCheckboxValidator extends BaseBooleanValidator implements Validator { + /** * Serial number */ diff --git a/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java b/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java index c104de5..d2f0334 100644 --- a/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java +++ b/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java @@ -29,6 +29,7 @@ import org.mxchange.jcoreee.validator.BaseObjectValidator; * @author Roland Haeder */ public abstract class BaseStringValidator extends BaseObjectValidator { + /** * Serial number */ @@ -77,6 +78,7 @@ public abstract class BaseStringValidator extends BaseObjectValidator { // Debug message //this.getLogger().logDebug(MessageFormat.format("preValidate: facesMessage={0}", facesMessage)); //NOI18N + // Is it not null? if (null != facesMessage) { throw new ValidatorException(facesMessage);