[forge-commits] [forge/core] 7d5c09: FORGE-949 Corrected validation plugin to emit desc...

Vineet Reynolds Vineet.Reynolds at gmail.com
Wed Jul 3 12:30:17 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/forge/core
  Commit: 7d5c09f90ea704d1b98bc6661a410d6ed71565cd
      https://github.com/forge/core/commit/7d5c09f90ea704d1b98bc6661a410d6ed71565cd
  Author: Vineet Reynolds <Vineet.Reynolds at gmail.com>
  Date:   2013-07-03 (Wed, 03 Jul 2013)

  Changed paths:
    M javaee-impl/src/main/java/org/jboss/forge/spec/javaee/validation/ValidationPlugin.java
    M javaee-impl/src/main/java/org/jboss/forge/spec/javaee/validation/provider/JavaEEValidatorProvider.java
    M javaee-impl/src/test/java/org/jboss/forge/spec/validation/ValidationPluginTest.java

  Log Message:
  -----------
  FORGE-949 Corrected validation plugin to emit descriptors with only default provider values.

MessageInterpolator, TraversableResolver and ConstraintValidatorFactory values are set only when provided by the user. This will ensure that the default values as supplied by the provider will be used unless the user overrides them. This would prevent issues involving changes in the internals of the BV providers, as was the case with HV-484.





More information about the forge-commits mailing list