[hibernate-commits] [hibernate/hibernate-validator] a5988f: HV-1471 Properly reset the context after constrain...

GitHub noreply at github.com
Fri Aug 18 05:25:08 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-validator
  Commit: a5988f4a64f03f21734b4196715f5507223e65fd
      https://github.com/hibernate/hibernate-validator/commit/a5988f4a64f03f21734b4196715f5507223e65fd
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2017-08-18 (Fri, 18 Aug 2017)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
    M engine/src/main/java/org/hibernate/validator/internal/engine/ValueContext.java
    M engine/src/main/java/org/hibernate/validator/internal/metadata/core/MetaConstraint.java
    M engine/src/test/java/org/hibernate/validator/test/internal/engine/valueextraction/UnwrapValidatedValueTest.java
    A engine/src/test/java/org/hibernate/validator/test/internal/engine/valueextraction/model/Company.java

  Log Message:
  -----------
  HV-1471 Properly reset the context after constraint validation

The path was properly reset but the value was not. I introduced a plain
object to manage the state so that it's properly reset everywhere.


  Commit: ecbfc5c437c70adb4370080c2af5a7a3b148e9ba
      https://github.com/hibernate/hibernate-validator/commit/ecbfc5c437c70adb4370080c2af5a7a3b148e9ba
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2017-08-18 (Fri, 18 Aug 2017)

  Changed paths:
    M engine/src/test/java/org/hibernate/validator/test/internal/engine/valueextraction/UnwrappingTest.java

  Log Message:
  -----------
  HV-1471 Minor cleanup of unused code in a test


Compare: https://github.com/hibernate/hibernate-validator/compare/200b02015705...ecbfc5c437c7


More information about the hibernate-commits mailing list