[hibernate-commits] [hibernate/hibernate-validator] ab1e51: HV-1220 Make programmatically defined cross parame...

GitHub noreply at github.com
Wed Mar 15 09:34:08 EDT 2017


  Branch: refs/heads/5.2
  Home:   https://github.com/hibernate/hibernate-validator
  Commit: ab1e51b44411d63bd6fba97c91cc320010c3e225
      https://github.com/hibernate/hibernate-validator/commit/ab1e51b44411d63bd6fba97c91cc320010c3e225
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
    M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
    M engine/src/main/java/org/hibernate/validator/internal/cfg/context/CrossParameterConstraintMappingContextImpl.java
    M engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
    M engine/src/main/java/org/hibernate/validator/internal/cfg/context/ReturnValueConstraintMappingContextImpl.java
    M engine/src/test/java/org/hibernate/validator/test/cfg/MethodConstraintMappingTest.java

  Log Message:
  -----------
  HV-1220 Make programmatically defined cross parameter constraints on the parameters of a method returning void work as expected

The location used was the one of a return value so it kinda worked if the
method had parameters as the return value type was Object which is
supported for cross parameter constraints but it failed as long as the
return value type was void.




More information about the hibernate-commits mailing list