]> git.mxchange.org Git - jphone-core.git/commitdiff
deprecated: copy them and remove deprecation
authorRoland Häder <roland@mxchange.org>
Tue, 25 Apr 2017 12:06:43 +0000 (14:06 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 25 Apr 2017 12:06:43 +0000 (14:06 +0200)
src/org/mxchange/jphone/validators/PhoneNumberValidator.java

index 6cb8a5293512ca8a07458e174f6b5034ab49f31c..4df1f3641b85dcbfbae1fc56367c7366305a4272 100644 (file)
@@ -43,7 +43,7 @@ public class PhoneNumberValidator extends BaseLongValidator implements Validator
                //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
 
                // The required field
-               String[] requiredFields = {"phoneAreaCode", "phoneNumber", "faxAreaCode", "faxNumber", "cellphoneNumber"}; //NOI18N
+               String[] requiredFields = {"phoneAreaCode", "phoneNumber", "faxAreaCode", "faxNumber", "mobileNumber"}; //NOI18N
 
                // Pre-validation (example: not null, not a string, empty string ...)
                super.preValidate(context, component, value, requiredFields, true);