[hibernate-commits] [hibernate/hibernate-validator] 37c322: HV-1709 Check that Polish Identification numbers a...

Marko Bekhta noreply at github.com
Tue May 14 09:45:58 EDT 2019


  Branch: refs/heads/6.0
  Home:   https://github.com/hibernate/hibernate-validator
  Commit: 37c322c792c2ca519a14bc8e9e8f7eb09e2c75e3
      https://github.com/hibernate/hibernate-validator/commit/37c322c792c2ca519a14bc8e9e8f7eb09e2c75e3
  Author: marko-bekhta <marko.prykladna at gmail.com>
  Date:   2019-05-14 (Tue, 14 May 2019)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/pl/PESELValidator.java
    M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/pl/PolishNumberValidator.java
    M engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/pl/NIPValidatorTest.java
    M engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/pl/PESELValidatorTest.java
    M engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/pl/REGONValidatorTest.java

  Log Message:
  -----------
  HV-1709 Check that Polish Identification numbers are of correct length

- Check the length of validated identification number
- Add tests for short/long values
- Add tests for nondigits in the values
- Disallow nondigits in PESEL




More information about the hibernate-commits mailing list