From: Roland Häder Date: Mon, 23 May 2016 10:58:28 +0000 (+0200) Subject: this thing does not work if you don't have the JAR inside the WAR file. Better is... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8b053f33d68ec82af6c502917ef9cac323d59528;p=jphone-core.git this thing does not work if you don't have the JAR inside the WAR file. Better is to copy this to your project and remove the deprecation annotation + from javadoc-tag --- diff --git a/src/org/mxchange/jphone/validators/PhoneNumberValidator.java b/src/org/mxchange/jphone/validators/PhoneNumberValidator.java index a6305ea..6f83ba7 100644 --- a/src/org/mxchange/jphone/validators/PhoneNumberValidator.java +++ b/src/org/mxchange/jphone/validators/PhoneNumberValidator.java @@ -26,8 +26,10 @@ import org.mxchange.jcoreee.validator.number.BaseLongValidator; * A validator for phone, fax and mobile numbers *

* @author Roland Haeder + * @deprecated Please copy this class to your project, it won't load. */ @FacesValidator (value = "PhoneNumberValidator") +@Deprecated public class PhoneNumberValidator extends BaseLongValidator implements Validator { /** @@ -49,4 +51,5 @@ public class PhoneNumberValidator extends BaseLongValidator implements Validator // Trace message //* NOISY-DEBUG: */ System.out.println("validate: EXIT!"); //NOI18N } + }