[ 
https://issues.apache.org/jira/browse/VALIDATOR-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sebb updated VALIDATOR-332:
---------------------------
    Summary: IIBANCheckDigit.calculate does not enforce initial checksum value  
(was: IIBANCheckDigit.calculate does not enforce initial checksun value)

> IIBANCheckDigit.calculate does not enforce initial checksum value
> -----------------------------------------------------------------
>
>                 Key: VALIDATOR-332
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-332
>             Project: Commons Validator
>          Issue Type: Bug
>            Reporter: Sebb
>
> The IBANCheckDigit.calculate Javadoc states that the initial check digits 
> should be "00" but does not enforce this.
> If the check digits are not "00" initially, the calculated check digits will 
> be incorrect, leading to potentially unexpected behaviour.
> The code should either throw a CheckDigitException or force the initial value 
> to "00".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to