]> git.mxchange.org Git - jphone-core.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 31 Jul 2017 20:34:49 +0000 (22:34 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 31 Jul 2017 20:34:49 +0000 (22:34 +0200)
- BaseLongeValidator has been renamed to BaseNumberValidator as it also validates Integer and Short

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jphone/validators/PhoneNumberValidator.java

index d752392b269f4e4bc33e076d7e2699058d1cb290..769be0c33f1143a99888036def92590ccf4fcfac 100644 (file)
@@ -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