From: Roland Haeder Date: Mon, 11 Apr 2016 12:41:25 +0000 (+0200) Subject: #Tpyo fixed ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3370f7ea99061648333236acdea277fb5930b053;p=jcoreee.git #Tpyo fixed ... --- diff --git a/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java b/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java index 79fc71a..e35b97e 100644 --- a/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java +++ b/src/org/mxchange/jcoreee/validator/BaseObjectValidator.java @@ -45,8 +45,7 @@ public abstract class BaseObjectValidator implements Validator, Serializable { *

* @param context * @param component - * @param value - *

+ * @param value

* @throws ValidatorException */ @Override @@ -58,11 +57,11 @@ public abstract class BaseObjectValidator implements Validator, Serializable { * component's id has been found, it stops iteration on requiredFields * (which saves execution time). *

- * @param context FacesContext instance - * @param component UIComponent instance - * @param value Value to check + * @param context FacesContext instance + * @param component UIComponent instance + * @param value Value to check * @param requiredFields Array of required field names (ending with) - * @param allowNull Wether null or empty values are allowed + * @param allowNull Wether null or empty values are allowed *

* @throws ValidatorException If something more horrible went wrong */ @@ -102,14 +101,16 @@ public abstract class BaseObjectValidator implements Validator, Serializable { // Debug message //this.getLogger().logDebug(MessageFormat.format("preValidate: isValidField={0}", isValidField)); //NOI18N + // Valid field? if (!isValidField) { // Invalid field - facesMessage = new FacesMessage(MessageFormat.format("Valure {0} for clientId={1} is not valid/unexpected.", value, clientId)); //NOI18N + facesMessage = new FacesMessage(MessageFormat.format("Value {0} for clientId={1} is not valid/unexpected.", value, clientId)); //NOI18N } // Debug message //this.getLogger().logDebug(MessageFormat.format("preValidate: facesMessage={0}", facesMessage)); //NOI18N + // Is it not null? if (null != facesMessage) { throw new ValidatorException(facesMessage); @@ -118,4 +119,5 @@ public abstract class BaseObjectValidator implements Validator, Serializable { // Trace message //this.getLogger().logTrace("preValidate: EXIT!"); //NOI18N } + }