Branch: refs/heads/6.0
Home:
https://github.com/hibernate/hibernate-validator
Commit: 90124ab0ab03647c7ef18085010ecf7ea7d47f94
https://github.com/hibernate/hibernate-validator/commit/90124ab0ab03647c7...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2019-04-09 (Tue, 09 Apr 2019)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/ISBNValidator.java
M
engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/hv/ISBNValidatorTest.java
Log Message:
-----------
HV-1706 Update the check algorithms for ISBN10/ISBN13
- To be able to correctly handle the 0 checksum cases instead
of determining a check digit a whole sum is calculated and then
its modulo is compared to 0.