Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-validator
Commit: b173247ab36545b90f2bf64a3838f39f4aab2eb1
https://github.com/hibernate/hibernate-validator/commit/b173247ab36545b90...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2019-04-03 (Wed, 03 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.