From: Roland Haeder Date: Mon, 14 Sep 2015 08:38:59 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3644fe120c0620235c957442650c66fb3b81f5f7;p=jcore-utils.git Continued: - amount validator is a long value validator - all message keys are UPPER_CASE - updated jar Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcoreee/validator/number/item_amount/ItemAmountValidator.java b/src/org/mxchange/jcoreee/validator/number/item_amount/ItemAmountValidator.java index 43e53b1..8a8e40f 100644 --- a/src/org/mxchange/jcoreee/validator/number/item_amount/ItemAmountValidator.java +++ b/src/org/mxchange/jcoreee/validator/number/item_amount/ItemAmountValidator.java @@ -20,14 +20,14 @@ import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.validator.Validator; import javax.faces.validator.ValidatorException; -import org.mxchange.jcoreee.validator.string.BaseStringValidator; +import org.mxchange.jcoreee.validator.number.BaseLongValidator; /** * A validator for item amount * * @author Roland Haeder */ -public class ItemAmountValidator extends BaseStringValidator implements Validator { +public class ItemAmountValidator extends BaseLongValidator implements Validator { @Override public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException {