From: Roland Häder Date: Mon, 31 Jul 2017 20:34:50 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b87b7b1f94514db552e14dc7a0da6209caf7213c;p=pizzaservice-war.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/java/org/mxchange/pizzaapplication/validator/number/item_amount/PizzaItemAmountValidator.java b/src/java/org/mxchange/pizzaapplication/validator/number/item_amount/PizzaItemAmountValidator.java index 2cc83fc8..00adcb60 100644 --- a/src/java/org/mxchange/pizzaapplication/validator/number/item_amount/PizzaItemAmountValidator.java +++ b/src/java/org/mxchange/pizzaapplication/validator/number/item_amount/PizzaItemAmountValidator.java @@ -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 */ @FacesValidator ("ItemAmountValidator") -public class PizzaItemAmountValidator extends BaseLongValidator implements Validator { +public class PizzaItemAmountValidator extends BaseNumberValidator implements Validator { /** * Serial number diff --git a/src/java/org/mxchange/pizzaapplication/validator/phone/number/PizzaPhoneNumberValidator.java b/src/java/org/mxchange/pizzaapplication/validator/phone/number/PizzaPhoneNumberValidator.java index 9e76e836..f249b7c1 100644 --- a/src/java/org/mxchange/pizzaapplication/validator/phone/number/PizzaPhoneNumberValidator.java +++ b/src/java/org/mxchange/pizzaapplication/validator/phone/number/PizzaPhoneNumberValidator.java @@ -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 */ @FacesValidator ("PhoneNumberValidator") -public class PizzaPhoneNumberValidator extends BaseLongValidator implements Validator { +public class PizzaPhoneNumberValidator extends BaseNumberValidator implements Validator { /** * Serial number diff --git a/src/java/org/mxchange/pizzaapplication/validator/user/PizzaUserIdValidator.java b/src/java/org/mxchange/pizzaapplication/validator/user/PizzaUserIdValidator.java index bb6ac1e1..cd0c45e9 100644 --- a/src/java/org/mxchange/pizzaapplication/validator/user/PizzaUserIdValidator.java +++ b/src/java/org/mxchange/pizzaapplication/validator/user/PizzaUserIdValidator.java @@ -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 */ @FacesValidator ("UserIdValidator") -public class PizzaUserIdValidator extends BaseLongValidator implements Validator { +public class PizzaUserIdValidator extends BaseNumberValidator implements Validator { /** * Remote bean