]> git.mxchange.org Git - jphone-core.git/commitdiff
fixed tpyos
authorRoland Haeder <roland@mxchange.org>
Sat, 12 Mar 2016 17:11:01 +0000 (18:11 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 12 Mar 2016 17:11:01 +0000 (18:11 +0100)
src/org/mxchange/jphone/validators/PhoneNumberValidator.java

index f4a762c5de8a382a8296c23de28055ab4b02e86a..7df415aa0cd60fae3542aa6cdb99fb5d7765dead 100644 (file)
@@ -41,10 +41,10 @@ public class PhoneNumberValidator extends BaseLongValidator implements Validator
                //this.getLogger().logTrace(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
 
                // The required field
-               String[] requiredFileds = {"phoneAreaCode", "phoneNumber", "faxAreaCode", "faxNumber", "cellphoneNumber"}; //NOI18N
+               String[] requiredFields = {"phoneAreaCode", "phoneNumber", "faxAreaCode", "faxNumber", "cellphoneNumber"}; //NOI18N
 
                // Pre-validation (example: not null, not a string, empty string ...)
-               super.preValidate(context, component, value, requiredFileds, true);
+               super.preValidate(context, component, value, requiredFields, true);
 
                // Trace message
                //this.getLogger().logTrace("validate: EXIT!"); //NOI18N