]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 31 Jul 2017 20:34:50 +0000 (22:34 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 31 Jul 2017 20:34:50 +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/java/org/mxchange/pizzaapplication/validator/number/item_amount/PizzaItemAmountValidator.java
src/java/org/mxchange/pizzaapplication/validator/phone/number/PizzaPhoneNumberValidator.java
src/java/org/mxchange/pizzaapplication/validator/user/PizzaUserIdValidator.java

index 2cc83fc8ec14b7727a96048630bd870b825a7042..00adcb604942f9942ae350463de3477d92e97851 100644 (file)
@@ -21,7 +21,7 @@ import javax.faces.context.FacesContext;
 import javax.faces.validator.FacesValidator;
 import javax.faces.validator.Validator;
 import javax.faces.validator.ValidatorException;
-import org.mxchange.jcoreee.validator.number.BaseLongValidator;
+import org.mxchange.jcoreee.validator.number.BaseNumberValidator;
 
 /**
  * A validator for item amount
@@ -29,7 +29,7 @@ import org.mxchange.jcoreee.validator.number.BaseLongValidator;
  * @author Roland Häder<roland@mxchange.org>
  */
 @FacesValidator ("ItemAmountValidator")
-public class PizzaItemAmountValidator extends BaseLongValidator implements Validator {
+public class PizzaItemAmountValidator extends BaseNumberValidator implements Validator {
 
        /**
         * Serial number
index 9e76e836a0c7548754d267fb567b499fe49fae5d..f249b7c1a1405d10d2ccfe568653670debcaa19f 100644 (file)
@@ -21,7 +21,7 @@ import javax.faces.context.FacesContext;
 import javax.faces.validator.FacesValidator;
 import javax.faces.validator.Validator;
 import javax.faces.validator.ValidatorException;
-import org.mxchange.jcoreee.validator.number.BaseLongValidator;
+import org.mxchange.jcoreee.validator.number.BaseNumberValidator;
 
 /**
  * A validator for phone, fax and mobile numbers
@@ -29,7 +29,7 @@ import org.mxchange.jcoreee.validator.number.BaseLongValidator;
  * @author Roland Häder<roland@mxchange.org>
  */
 @FacesValidator ("PhoneNumberValidator")
-public class PizzaPhoneNumberValidator extends BaseLongValidator implements Validator {
+public class PizzaPhoneNumberValidator extends BaseNumberValidator implements Validator {
 
        /**
         * Serial number
index bb6ac1e1f5e6ccfbd93f7cfe9cf9b80051a55332..cd0c45e984021540533f657b3d0681b966bad839 100644 (file)
@@ -27,7 +27,7 @@ import javax.faces.validator.ValidatorException;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
-import org.mxchange.jcoreee.validator.number.BaseLongValidator;
+import org.mxchange.jcoreee.validator.number.BaseNumberValidator;
 import org.mxchange.jusercore.model.user.UserSessionBeanRemote;
 
 /**
@@ -36,7 +36,7 @@ import org.mxchange.jusercore.model.user.UserSessionBeanRemote;
  * @author Roland Häder<roland@mxchange.org>
  */
 @FacesValidator ("UserIdValidator")
-public class PizzaUserIdValidator extends BaseLongValidator implements Validator {
+public class PizzaUserIdValidator extends BaseNumberValidator implements Validator {
 
        /**
         * Remote bean