slawekjaranowski commented on code in PR #302:
URL: https://github.com/apache/commons-validator/pull/302#discussion_r1898099771


##########
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:
##########
@@ -101,10 +101,6 @@ public Validator(final String countryCode, final int 
ibanLength, final String re
             if (ibanLength > MAX_LEN || ibanLength < MIN_LEN) {
                 throw new IllegalArgumentException("Invalid length parameter, 
must be in range " + MIN_LEN + " to " + MAX_LEN + " inclusive: " + ibanLength);
             }
-            final String regex = countryCode + regexWithoutCC;

Review Comment:
   `regex` variable is not used in other place



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to