From: Roland Häder Date: Tue, 25 Apr 2017 12:06:43 +0000 (+0200) Subject: deprecated: copy them and remove deprecation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e52bee79a93f998da7730efc840d2d866fe194ab;p=jphone-core.git deprecated: copy them and remove deprecation --- diff --git a/src/org/mxchange/jphone/validators/PhoneNumberValidator.java b/src/org/mxchange/jphone/validators/PhoneNumberValidator.java index 6cb8a52..4df1f36 100644 --- a/src/org/mxchange/jphone/validators/PhoneNumberValidator.java +++ b/src/org/mxchange/jphone/validators/PhoneNumberValidator.java @@ -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);