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=47cc84b3567918a85f2bb8c1a4ecd457da2aba39;p=jfinancials-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/jfinancials/validator/phone/number/FinancialsPhoneNumberValidator.java b/src/java/org/mxchange/jfinancials/validator/phone/number/FinancialsPhoneNumberValidator.java index 0a229d64..3f9096b8 100644 --- a/src/java/org/mxchange/jfinancials/validator/phone/number/FinancialsPhoneNumberValidator.java +++ b/src/java/org/mxchange/jfinancials/validator/phone/number/FinancialsPhoneNumberValidator.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 FinancialsPhoneNumberValidator extends BaseLongValidator implements Validator { +public class FinancialsPhoneNumberValidator extends BaseNumberValidator implements Validator { /** * Serial number diff --git a/src/java/org/mxchange/jfinancials/validator/user/FinancialsUserIdValidator.java b/src/java/org/mxchange/jfinancials/validator/user/FinancialsUserIdValidator.java index 3b5ff90b..f43f7d0d 100644 --- a/src/java/org/mxchange/jfinancials/validator/user/FinancialsUserIdValidator.java +++ b/src/java/org/mxchange/jfinancials/validator/user/FinancialsUserIdValidator.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 FinancialsUserIdValidator extends BaseLongValidator implements Validator { +public class FinancialsUserIdValidator extends BaseNumberValidator implements Validator { /** * Remote bean