Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-validator
Commit: 15ec3dab9d389ff7b3c072136dd425e8875d2825
https://github.com/hibernate/hibernate-validator/commit/15ec3dab9d389ff7b...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths:
M
cdi/src/test/java/org/hibernate/validator/test/internal/cdi/injection/MyValidationProvider.java
M
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter02/typeargument/custom/CarTest.java
M
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter11/valuehandling/UnwrapValidatedValueTest.java
M engine/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ValueExtractorDescriptor.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/BootstrapConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/ValidationBootstrapParameters.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/CustomValueExtractorTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/NestedCascadedConstraintsTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/valuehandling/InvalidValueExtractorTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/valuehandling/UnwrapValidatedValueTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/valuehandling/UnwrappingTest.java
M
integration/src/test/java/org/hibernate/validator/integration/util/MyValidatorConfiguration.java
Log Message:
-----------
HV-1257 HibernateValidatorConfiguration#addCascadedValueExtractor() ->
Configuration#addValueExtractor()
Commit: 4a89f529d8753ce6013e77610e7ca8b172301b3b
https://github.com/hibernate/hibernate-validator/commit/4a89f529d8753ce60...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ValueExtractorDescriptor.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/BootstrapConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/ValidationBootstrapParameters.java
M engine/src/main/java/org/hibernate/validator/internal/xml/ValidationXmlParser.java
M engine/src/main/xsd/validation-configuration-2.0.xsd
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/CustomValueExtractorTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/MultimapValueExtractor.java
A
engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/value-extractor-validation.xml
Log Message:
-----------
HV-1260 Allowing to specify value extractors in validation.xml
Commit: c6f85f3151810da3253de92cc5947bbb17829ec7
https://github.com/hibernate/hibernate-validator/commit/c6f85f3151810da32...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/BooleanArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ByteArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/CharArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/DoubleArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/FloatArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/IntArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/IterableValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/LegacyIterableValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/LegacyListValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/LegacyMapValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/LegacyOptionalValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ListValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/LongArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/MapKeyExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/MapValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ObjectArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ObjectValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ObservableValueValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/OptionalValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ShortArrayValueExtractor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ValueExtractorManager.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/CustomValueExtractorTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/path/PathImplTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/BeanMetaDataManagerTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/aggregated/ExecutableMetaDataTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/aggregated/ParameterMetaDataTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/aggregated/PropertyMetaDataTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/core/MetaConstraintTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/TypeAnnotationMetaDataRetrievalTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/xml/MappingXmlParserTest.java
Log Message:
-----------
HV-1257 Implementing ValidatorContext#addValueExtractor()
Commit: 4a045181829a6a745f3bc519681a4c8c4e4ba725
https://github.com/hibernate/hibernate-validator/commit/4a045181829a6a745...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/ValidationBootstrapParameters.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/CustomValueExtractorTest.java
A
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/GuavaOptionalValueExtractor.java
A
engine/src/test/resources/META-INF/services/javax.validation.valueextraction.ValueExtractor
Log Message:
-----------
HV-1261 Loading value extractors via service loader
Commit: 93c8812c65a8c034babbbb4f676e9e087b188728
https://github.com/hibernate/hibernate-validator/commit/93c8812c65a8c034b...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ValueExtractorDescriptor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ValueExtractorManager.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/CustomValueExtractorTest.java
Log Message:
-----------
HV-1257 Implementing HibernateValidatorConfiguration#getDefaultValueExtractors()
Commit: cf6fd9e33e5ed863f8f49d78e0666b7cbbf2c3ff
https://github.com/hibernate/hibernate-validator/commit/cf6fd9e33e5ed863f...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ValueExtractorDescriptor.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/cascading/ValueExtractorManager.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/BootstrapConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/ValidationBootstrapParameters.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/cascaded/CustomValueExtractorTest.java
A
engine/src/test/resources/org/hibernate/validator/test/internal/engine/cascaded/multiple-value-extractors-for-same-type-and-type-use-validation.xml
Log Message:
-----------
HV-1257 Addressing review remarks:
* Avoiding conversions forth and back batween ValueExtractor and ValueExtractorDescriptor
* Pre-calculating hash codes
* Having built-in extractors configured only once in ValueExtractorManager
* Raising ValueExtractorDeclarationException if multiple extractors are given for same
type and type use
Commit: b38a2c3f21611ff37b067c12bb3f695208bddf23
https://github.com/hibernate/hibernate-validator/commit/b38a2c3f21611ff37...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-02-27 (Mon, 27 Feb 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/ValidationBootstrapParameters.java
Log Message:
-----------
HV-1257 Rename 2 variables for consistency
Compare:
https://github.com/hibernate/hibernate-validator/compare/ba59e55cb01d...b...