]> git.mxchange.org Git - jcore-utils.git/blobdiff - src/org/mxchange/jcoreee/validator/string/names/NameValidator.java
Added flag allowNull to allow null ...
[jcore-utils.git] / src / org / mxchange / jcoreee / validator / string / names / NameValidator.java
index 9d1f8335290a6f66f29398b1d5bb72bac305ed1b..a84a548d49a3e4d37e1b05479e1e571e25290b03 100644 (file)
@@ -43,7 +43,7 @@ public class NameValidator extends BaseStringValidator implements Validator {
                String[] requiredFileds = {"firstName", "familyName", "city", "street"}; //NOI18N
 
                // Pre-validation (example: not null, not a string, empty string ...)
-               super.preValidate(context, component, value, requiredFileds);
+               super.preValidate(context, component, value, requiredFileds, true);
 
                // Trace message
                //this.getLogger().logTrace("validate: EXIT!"); //NOI18N