This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-validator.git
The following commit(s) were added to refs/heads/master by this push: new 1579f7f VALIDATOR-416 CreditCardValidator default ctor disagrees with Javadoc 1579f7f is described below commit 1579f7ff03f53d559a09fe3b2e451ef5a882261e Author: Sebb <s...@apache.org> AuthorDate: Fri Jun 19 17:08:17 2020 +0100 VALIDATOR-416 CreditCardValidator default ctor disagrees with Javadoc --- src/changes/changes.xml | 3 +++ .../org/apache/commons/validator/routines/CreditCardValidator.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index a5b304d..cb103cf 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -131,6 +131,9 @@ http://commons.apache.org/validator/dependencies.html <action issue="VALIDATOR-444" type="fix" dev="sebb"> LongValidator: numbers bigger than the maxvalue are Valid </action> + <action issue="VALIDATOR-416" type="fix" dev="sebb"> + CreditCardValidator default ctor disagrees with Javadoc + </action> </release> <release version="1.6" date="2017-02-21" description=" diff --git a/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java b/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java index 4f76875..1f33c1e 100644 --- a/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java +++ b/src/main/java/org/apache/commons/validator/routines/CreditCardValidator.java @@ -27,7 +27,7 @@ import java.util.ArrayList; * Perform credit card validations. * * <p> - * By default, all supported card types are allowed. You can specify which + * By default, AMEX + VISA + MASTERCARD + DISCOVER card types are allowed. You can specify which * cards should pass validation by configuring the validation options. For * example, * </p>