]> git.mxchange.org Git - addressbook-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/addressbook/validator/addressbook/AddressbookIdValidator.java
src/java/org/mxchange/addressbook/validator/phone/number/AddressbookPhoneNumberValidator.java
src/java/org/mxchange/addressbook/validator/user/AddressbookUserIdValidator.java

index 4ac7388dcc334f3bf1f2d1764b0a6e8dbaea92a6..26eca6b6f84cdc9aa971bc6ad8e4e41564e1821f 100644 (file)
@@ -28,7 +28,7 @@ import javax.naming.NamingException;
 import org.mxchange.addressbook.model.addressbook.AddressbookSessionBeanRemote;
 import org.mxchange.jaddressbook.exceptions.AddressbookNotFoundException;
 import org.mxchange.jaddressbook.model.addressbook.Addressbook;
-import org.mxchange.jcoreee.validator.number.BaseLongValidator;
+import org.mxchange.jcoreee.validator.number.BaseNumberValidator;
 
 /**
  * A validator for address book id verification
@@ -36,7 +36,7 @@ import org.mxchange.jcoreee.validator.number.BaseLongValidator;
  * @author Roland Häder<roland@mxchange.org>
  */
 @FacesValidator ("AddressbookIdValidator")
-public class AddressbookIdValidator extends BaseLongValidator {
+public class AddressbookIdValidator extends BaseNumberValidator {
 
        /**
         * Serial number
index f2d335683484fd517ce6050156f0a2deba99e648..1d0ce778c59b71e3483218cffc5044d480458f48 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 AddressbookPhoneNumberValidator extends BaseLongValidator implements Validator {
+public class AddressbookPhoneNumberValidator extends BaseNumberValidator implements Validator {
 
        /**
         * Serial number
index aca92c0ba43ef3d35005a0885175f0da9f4a1437..3d7dccaa9617e02f416ebcf9aa54b67d9552b53b 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 AddressbookUserIdValidator extends BaseLongValidator implements Validator {
+public class AddressbookUserIdValidator extends BaseNumberValidator implements Validator {
 
        /**
         * Remote bean