From: Roland Häder Date: Mon, 31 Jul 2017 20:34:49 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=075d240719bd6372a7f5a74983d2926ba59d8775;p=jphone-core.git Please cherry-pick: - BaseLongeValidator has been renamed to BaseNumberValidator as it also validates Integer and Short Signed-off-by: Roland Häder --- diff --git a/src/org/mxchange/jphone/validators/PhoneNumberValidator.java b/src/org/mxchange/jphone/validators/PhoneNumberValidator.java index d752392..769be0c 100644 --- a/src/org/mxchange/jphone/validators/PhoneNumberValidator.java +++ b/src/org/mxchange/jphone/validators/PhoneNumberValidator.java @@ -20,7 +20,7 @@ import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.validator.FacesValidator; import javax.faces.validator.Validator; -import org.mxchange.jcoreee.validator.number.BaseLongValidator; +import org.mxchange.jcoreee.validator.number.BaseNumberValidator; /** * A validator for phone, fax and mobile numbers @@ -30,7 +30,7 @@ import org.mxchange.jcoreee.validator.number.BaseLongValidator; */ @FacesValidator ("PhoneNumberValidator") @Deprecated -public class PhoneNumberValidator extends BaseLongValidator implements Validator { +public class PhoneNumberValidator extends BaseNumberValidator implements Validator { /** * Serial number