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 7d87b033 Clarify function of IBANValidator class
7d87b033 is described below

commit 7d87b0336d9dcfa3b9dedfc39ac6ca11048c0ed6
Author: Sebb <s...@apache.org>
AuthorDate: Thu Jan 16 23:50:11 2025 +0000

    Clarify function of IBANValidator class
    
    [skip ci]
---
 .../org/apache/commons/validator/routines/IBANValidator.java  | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git 
a/src/main/java/org/apache/commons/validator/routines/IBANValidator.java 
b/src/main/java/org/apache/commons/validator/routines/IBANValidator.java
index b3c44945..64dba4dd 100644
--- a/src/main/java/org/apache/commons/validator/routines/IBANValidator.java
+++ b/src/main/java/org/apache/commons/validator/routines/IBANValidator.java
@@ -27,6 +27,17 @@ import 
org.apache.commons.validator.routines.checkdigit.IBANCheckDigit;
 /**
  * IBAN Validator.
  * <p>
+ * Checks an IBAN for:
+ * <ul>
+ * <li>country code prefix</li>
+ * <li>IBAN length</li>
+ * <li>pattern (digits and/or uppercase letters)</li>
+ * <li>IBAN Checkdigits (using {@link IBANCheckDigit})</li>
+ * </ul>
+ * The class does not perform checks on the embedded BBAN (Basic Bank Account 
Number).
+ * Each country has its own rules for these.
+ * </p>
+ * <p>
  * The validator includes a default set of formats derived from the IBAN 
registry at
  * https://www.swift.com/standards/data-standards/iban.
  * </p>

Reply via email to