Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-validator
Commit: 8b2f0d624f90a9b0d315bca74b756595b0434ad4
https://github.com/hibernate/hibernate-validator/commit/8b2f0d624f90a9b0d...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-10-18 (Wed, 18 Oct 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/ValidatorImpl.java
R
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/DefaultTraversableResolver.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/JPATraversableResolver.java
A
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/TraversableResolvers.java
A
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/TraverseAllTraversableResolver.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/traversableresolver/JpaTraversableResolverTest.java
Log Message:
-----------
HV-1487 If we are using a traverse all TraversableResolver, don't wrap
it into a caching one
It avoids quite a lot of useless map lookups.
Originally suggested by Chris Narburgh.
Commit: b3019090e0df82c3400e0c56c3badb7ca1f3ea8e
https://github.com/hibernate/hibernate-validator/commit/b3019090e0df82c34...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-10-18 (Wed, 18 Oct 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/HibernateValidatorContext.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/ValidatorImpl.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/traversableresolver/CachedTraversableResolverTest.java
A
engine/src/test/resources/org/hibernate/validator/test/internal/engine/traversableresolver/validation-CachedTraversableResolverTest.xml
Log Message:
-----------
HV-1487 Allow to disable the TraversableResolver result cache
Commit: 49287679e85723f91e3184c3afa76fcd9ac7161f
https://github.com/hibernate/hibernate-validator/commit/49287679e85723f91...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-10-18 (Wed, 18 Oct 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
M engine/src/main/java/org/hibernate/validator/HibernateValidatorContext.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
A
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/CachingJPATraversableResolverForSingleValidation.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/CachingTraversableResolverForSingleValidation.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/JPATraversableResolver.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/TraversableResolvers.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/TraverseAllTraversableResolver.java
Log Message:
-----------
HV-1487 Introduce a caching wrapper specific to the
JPATraversableResolver
It allows a few optimizations based on the contract defined in the Bean
Validation specification.
Commit: 1ceb8a0b13814a162d4f505d802d8a12e507b975
https://github.com/hibernate/hibernate-validator/commit/1ceb8a0b13814a162...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-10-18 (Wed, 18 Oct 2017)
Changed paths:
M documentation/src/main/asciidoc/ch09.asciidoc
M
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/BootstrappingTest.java
A
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/MyFastTraversableResolver.java
A
documentation/src/test/java/org/hibernate/validator/referenceguide/chapter09/validation-DisableTraversableResolverResultCache.xml
Log Message:
-----------
HV-1487 Add some documentation about how to disable the
TraversableResolver cache
Commit: 93e563b240b9ce9cfec9c1e3a4c044b00f65f490
https://github.com/hibernate/hibernate-validator/commit/93e563b240b9ce9cf...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2017-10-18 (Wed, 18 Oct 2017)
Changed paths:
A
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/AbstractTraversableHolder.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/CachingJPATraversableResolverForSingleValidation.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/resolver/CachingTraversableResolverForSingleValidation.java
Log Message:
-----------
HV-1487 Avoid some code duplication
Compare:
https://github.com/hibernate/hibernate-validator/compare/fc454b6b64be...9...