[hibernate/hibernate-validator] be5e0f: HV-347: use the bean, which hosts the validated me...
by noreply@github.com
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: be5e0f08a614215788d68791701deddc6625ba6e
https://github.com/hibernate/hibernate-validator/commit/be5e0f08a61421578...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodValidator.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/ValidationInvocationHandler.java
Log Message:
-----------
HV-347: use the bean, which hosts the validated method as rootBean in resulting ConstraintViolation instead of the parameter bean
Commit: e69067d2a3ceaf9044f048f698546f619d390347
https://github.com/hibernate/hibernate-validator/commit/e69067d2a3ceaf904...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/test/java/org/hibernate/validator/test/util/TestUtil.java
Log Message:
-----------
HV-347: Removed raw type warnings from TestUtil, improved parameter naming
Commit: 0ad7b4509cf6c9fc6c10d831152cc54cf088a0fc
https://github.com/hibernate/hibernate-validator/commit/0ad7b4509cf6c9fc6...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
A hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodParameterNodeImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/PathImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/PathImplTest.java
Log Message:
-----------
HV-347: Created MethodParameterNodeImpl and creation method in PathImpl
Commit: 33a2a9ff3e444e5379db3f5b0fa2fbcc425ca9f0
https://github.com/hibernate/hibernate-validator/commit/33a2a9ff3e444e537...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
Log Message:
-----------
HV-347: Use MethodParameterNodeImpl in ValidatorImpl
Commit: 726950a5e1ec454341ab3fdcd04a9579c6fb9550
https://github.com/hibernate/hibernate-validator/commit/726950a5e1ec45434...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodValidator.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ConstraintTree.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodValidationContext.java
A hibernate-validator/src/main/java/org/hibernate/validator/engine/StandardValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValueContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/MetaConstraint.java
A hibernate-validator/src/main/java/org/hibernate/validator/util/Contracts.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/ValidationInvocationHandler.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/util/TestUtil.java
Log Message:
-----------
[HV-347]: Parametrized ValidationContext with type of ConstraintViolation, added MethodValidator#validateParameters()
Commit: 45cb66fe5494c4939cce177eb906dca777e7e5e8
https://github.com/hibernate/hibernate-validator/commit/45cb66fe5494c4939...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/MethodMetaData.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/ReturnValueMetaData.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/ReturnValueConstraintSite.java
M hibernate-validator/src/main/java/org/hibernate/validator/util/ReflectionHelper.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
A hibernate-validator/src/test/java/org/hibernate/validator/test/metadata/BeanMetaDataImplTest.java
Log Message:
-----------
HV-347: Implemented meta-data retrieval for return value validation
Commit: 2132b7d32b7867f9aefc45db6e4fe390abf1e81d
https://github.com/hibernate/hibernate-validator/commit/2132b7d32b7867f9a...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/ReturnValueConstraintSite.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
Log Message:
-----------
HV-347: Fixed test errors
Commit: dd96fe527d8230abe15d6470cd251ee55fcca4d6
https://github.com/hibernate/hibernate-validator/commit/dd96fe527d8230abe...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
A hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodReturnValueNodeImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/PathImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/PathImplTest.java
Log Message:
-----------
HV-347: Added support for return value nodes to Path API
Commit: 92dd261ab41a0ab83c0cc9ff4d8ae88b1dd3a270
https://github.com/hibernate/hibernate-validator/commit/92dd261ab41a0ab83...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodValidator.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/ReturnValueMetaData.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/ValidationInvocationHandler.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
Log Message:
-----------
HV-347: Implemented first draft for return value validation
Commit: 1c12c806842dada6f4182f79dc11ca63688c4207
https://github.com/hibernate/hibernate-validator/commit/1c12c806842dada6f...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorFactoryImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaConstraint.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaData.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/MetaConstraint.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/MethodMetaConstraint.java
M hibernate-validator/src/main/java/org/hibernate/validator/xml/XmlMappingParser.java
Log Message:
-----------
HV-347: Cleaned up MetaConstraint handling
* Split MetaConstraint into Bean- and MethodMetaConstraint
* Pushed down getValue() to BeanMetaConstraint
* Referenced BeanMetaConstraint where necessary to avoid casts to specific site implementation
Commit: f57f572a06352ad7a92379c47c5654eae57b933a
https://github.com/hibernate/hibernate-validator/commit/f57f572a06352ad7a...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
R hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/BeanConstraintSite.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/ConstraintSite.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/MethodParameterConstraintSite.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/ReturnValueConstraintSite.java
Log Message:
-----------
HV-347: Removed unnecessary stuff from ConstraintSite and implementations
Commit: 112ced7122eb5438b93bb919d23c32b265a3dc9c
https://github.com/hibernate/hibernate-validator/commit/112ced7122eb5438b...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorFactoryImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaConstraint.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/MetaConstraint.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/MethodMetaConstraint.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/location/BeanConstraintLocation.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/location/ConstraintLocation.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/location/MethodConstraintLocation.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/location/MethodParameterConstraintLocation.java
R hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/ConstraintSite.java
R hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/MethodParameterConstraintSite.java
R hibernate-validator/src/main/java/org/hibernate/validator/metadata/site/ReturnValueConstraintSite.java
M hibernate-validator/src/main/java/org/hibernate/validator/xml/XmlMappingParser.java
Log Message:
-----------
HV-347: Renamed "site" package and classes to "location"
Commit: 82f24dbe3b0b1919593cf85279c4f471bb1cda23
https://github.com/hibernate/hibernate-validator/commit/82f24dbe3b0b19195...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/location/package.html
Log Message:
-----------
HV-347: Added package.html for metadata.location
Commit: 1cf82856626e276eeeca222e7c228ed6c411f696
https://github.com/hibernate/hibernate-validator/commit/1cf82856626e276ee...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ConfigurationImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorContextImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorFactoryImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/metadata/BeanMetaDataImplTest.java
Log Message:
-----------
HV-347: HV-347: Established a configuration option for controlling method-level validation
The JSR 303 TCK mandates that a compliant implementation must throw an exception in case a non-getter method is annotated with a constraint annotation. To be compliant and support method validation we now have a switch (HibernateValidatorConfiguration#allowMethodLevelConstraints()) which controls this behavior. It is turned off by default allowing the TCK tests to pass and must be enabled when working with method-level constraints for return value validation.
Commit: c53fde382138335adc04db133678f752ae9f9cc4
https://github.com/hibernate/hibernate-validator/commit/c53fde382138335ad...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ConstraintTree.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
Log Message:
-----------
HV-347: Collect constraint violations in sets instead of lists in ValidationContext et al.
Commit: 912dffa2d32c1afe4dc0151a5e868725fe847556
https://github.com/hibernate/hibernate-validator/commit/912dffa2d32c1afe4...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
Log Message:
-----------
HV-347: Reading all method constraints in one loop (work in progress)
Commit: 4787b1ca6802a17a9e278e13ac2a73f63c6b5c9d
https://github.com/hibernate/hibernate-validator/commit/4787b1ca6802a17a9...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
A hibernate-validator/src/main/java/org/hibernate/validator/util/CollectionHelper.java
Log Message:
-----------
HV-347: Established CollectionHelper for simplified collection instantiation
Commit: 9c62e897d5d62e2a76d5d9650b4cf8593af3fce3
https://github.com/hibernate/hibernate-validator/commit/9c62e897d5d62e2a7...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/MethodMetaData.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/ParameterMetaData.java
R hibernate-validator/src/main/java/org/hibernate/validator/metadata/ReturnValueMetaData.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/location/BeanConstraintLocation.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/metadata/BeanMetaDataImplTest.java
Log Message:
-----------
HV-347: Consolidated retrieval of method constraint meta-data in BeanMetaDataImpl
Commit: 181940ba83626d9a727d0305174a75f747b41580
https://github.com/hibernate/hibernate-validator/commit/181940ba83626d9a7...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/MethodMetaData.java
Log Message:
-----------
HV-347: Simplified instantiation of MethodMetaData
Commit: cc24f530c374f63c49356482d928259b499ae445
https://github.com/hibernate/hibernate-validator/commit/cc24f530c374f63c4...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
Log Message:
-----------
HV-347: Removed some raw-type warnings
Commit: 4a3ddd356cd10db5712f065f52ce997f76e4197e
https://github.com/hibernate/hibernate-validator/commit/4a3ddd356cd10db57...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
A hibernate-validator/src/main/java/org/hibernate/validator/MethodConstraintViolationException.java
Log Message:
-----------
HV-347: Added MethodConstraintViolationException which wraps a Set<MethodConstraintViolation> and can be thrown by integrators of the method validation feature
Commit: 77ce6c0a6e508e31f65724e2ab86259f982cfb48
https://github.com/hibernate/hibernate-validator/commit/77ce6c0a6e508e31f...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/ValidationInvocationHandler.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
Log Message:
-----------
HV-347: Adding test-case for simple group parameter validation
Commit: 30f37a20c9b90752157a13a1ae3ff64f9c6c3093
https://github.com/hibernate/hibernate-validator/commit/30f37a20c9b907521...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/ValidationInvocationHandler.java
Log Message:
-----------
HV-347: Cleaned up MethodLevelValidationTest
Commit: b20b2914f5b5515d7053a2aa778a826fa4652abd
https://github.com/hibernate/hibernate-validator/commit/b20b2914f5b5515d7...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodConstraintViolation.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodConstraintViolationImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValueContext.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
Log Message:
-----------
HV-347: Added MethodConstraintViolation#getKind() for distinction of parameter and return value constraint violations, fixed bug in propagation of parameter index during validation of cascaded constraints
Commit: 43669e54f33c93eccac315f530fba110bc4c64cf
https://github.com/hibernate/hibernate-validator/commit/43669e54f33c93ecc...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ConstraintViolationImpl.java
Log Message:
-----------
HV-347: Removed some warnings from ConstraintViolationImpl
Commit: e4e0c18767f40c7e6e6c94aa61e096b79767f2d8
https://github.com/hibernate/hibernate-validator/commit/e4e0c18767f40c7e6...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/pom.xml
M pom.xml
Log Message:
-----------
HV-347: Added javax.inject-1.jar as optional dependency to POMs in order to use @Named for naming method parameters
Commit: 2b0a8070f00cb07426c92dfdbe01c2570148151d
https://github.com/hibernate/hibernate-validator/commit/2b0a8070f00cb0742...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodConstraintViolation.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodConstraintViolationImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodParameterNodeImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/PathImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValueContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/ParameterMetaData.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/PathImplTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/model/Customer.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
Log Message:
-----------
HV-347: Implemented parameter naming for method level validation
Commit: 2427767e63575e1e98b6e71abb2880814585bdf0
https://github.com/hibernate/hibernate-validator/commit/2427767e63575e1e9...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
Log Message:
-----------
HV-347: Formatting
Commit: 224d02ea77f870e88f90c9498dedffc96d0f8dc3
https://github.com/hibernate/hibernate-validator/commit/224d02ea77f870e88...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
Log Message:
-----------
HV-347: Implemented cascading validation of parameters of type Iterable/Map/array
Commit: be68b238ae0f7515c0ec37f4a04b42a489799793
https://github.com/hibernate/hibernate-validator/commit/be68b238ae0f7515c...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
A hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationGroupSequenceTest.java
A hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroup.java
A hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroupImpl.java
Log Message:
-----------
HV-347: Started implementation if group sequence processing (redefined default sequences)
Commit: bf16bff19caaf4008b80817ccffca6baa123a210
https://github.com/hibernate/hibernate-validator/commit/bf16bff19caaf4008...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValueContext.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationGroupSequenceTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroup.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroupImpl.java
Log Message:
-----------
HV-347: Restructured validateParameter() et al. in order to iterate first over groups/sequences and then over parameters
Commit: ea03113a6f5778d9499fc4a7ea3959d381771f9a
https://github.com/hibernate/hibernate-validator/commit/ea03113a6f5778d94...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationGroupSequenceTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroup.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroupImpl.java
Log Message:
-----------
HV-347: Refactoring sequence processing of parameter constraints (work in progress)
Commit: b947652cf8581d30ebb7b62bd4b0604b154af365
https://github.com/hibernate/hibernate-validator/commit/b947652cf8581d30e...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodValidator.java
Log Message:
-----------
HV-347: Extended JavaDoc of MethodValidator interface
Commit: 41c88511f9f9e6d5be87294940e78549dc62c3e1
https://github.com/hibernate/hibernate-validator/commit/41c88511f9f9e6d5b...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodValidator.java
Log Message:
-----------
HV-347: Improved on JavaDoc
Commit: 44220bf9c4110c163a44da2953012a8b2d7187ad
https://github.com/hibernate/hibernate-validator/commit/44220bf9c4110c163...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodConstraintViolationException.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/RepositoryBase.java
Log Message:
-----------
HV-347: Pulled validation of cascaded constraints out of inner loop to avoid validating them repeatedly
Commit: 70d14d6acb39cc6668eff2f9d4a8d9cfefbb0e63
https://github.com/hibernate/hibernate-validator/commit/70d14d6acb39cc666...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
Log Message:
-----------
HV-347: Some formatting, no real changes
Commit: 1725e5c9feafa2e68519940c8e1db1550d83e3d5
https://github.com/hibernate/hibernate-validator/commit/1725e5c9feafa2e68...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/pom.xml
M pom.xml
Log Message:
-----------
Revert "HV-347: Added javax.inject-1.jar as optional dependency to POMs in order to use @Named for naming method parameters"
This reverts commit dbcb8a81977a599537a83230d38ec5935328f327.
Commit: 4e42a5433ae6a1f8237495cf0facf26efe4c25c5
https://github.com/hibernate/hibernate-validator/commit/4e42a5433ae6a1f82...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodConstraintViolation.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/RepositoryBase.java
Log Message:
-----------
HV-347: Removed logic for retrieval of parameter names and tests. For now synthetic names such as "arg0" will be used. Real parameter names might come back in a future release, if a clear algorithm for name resolution has been established.
Commit: 11ad49b8f7534712ee07427ed44ec7d1413b68bf
https://github.com/hibernate/hibernate-validator/commit/11ad49b8f7534712e...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ConfigurationImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorContextImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorFactoryImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationGroupSequenceTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/metadata/BeanMetaDataImplTest.java
Log Message:
-----------
HV-347: Removed obsolete switch for allowing method level constraints at non-getters, since the TCK allows such constraints by now
Commit: 07222df7b0f4ce47f0a380eeff8e13c12520b0cb
https://github.com/hibernate/hibernate-validator/commit/07222df7b0f4ce47f...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/RepositoryBase.java
Log Message:
-----------
HV-347: Refactored return value validation, Implemented cascaded validation of return values (work in progress)
Commit: 70c4d1c6025eb34f4774c21c998e37041549fcb2
https://github.com/hibernate/hibernate-validator/commit/70c4d1c6025eb34f4...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationGroupSequenceTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroup.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroupImpl.java
Log Message:
-----------
HV-347: Fixed bug in validation of return values for redefined default sequences, added tests
Commit: 31ced850bb63e433661c8012f2805d6017b33cde
https://github.com/hibernate/hibernate-validator/commit/31ced850bb63e4336...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationGroupSequenceTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroup.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryWithRedefinedDefaultGroupImpl.java
Log Message:
-----------
HV-347: Sequence processing vor return value validation
Commit: cbf7e765c30e7c5e40a7b59249652069c51e2861
https://github.com/hibernate/hibernate-validator/commit/cbf7e765c30e7c5e4...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
R hibernate-validator/src/main/java/org/hibernate/validator/metadata/MethodMetaConstraint.java
A hibernate-validator/src/main/java/org/hibernate/validator/metadata/ParameterMetaConstraint.java
R hibernate-validator/src/main/java/org/hibernate/validator/metadata/location/MethodConstraintLocation.java
Log Message:
-----------
HV-347: Removed some unused code, renamed MethodMetaConstraint to ParameterMetaConstraint
Commit: 1159912b1afe729c9dcd404c6fd7a02ce91abb90
https://github.com/hibernate/hibernate-validator/commit/1159912b1afe729c9...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-09 (Sun, 09 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
Log Message:
-----------
HV-347: Formatting, no actual code change
Commit: 2d68a5c976f369222a79ddfa021ff7d32f34a4ed
https://github.com/hibernate/hibernate-validator/commit/2d68a5c976f369222...
Author: Gunnar Morling <gunnar.morling(a)googlemail.com>
Date: 2011-01-11 (Tue, 11 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/ValidationInvocationHandler.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
Log Message:
-----------
HV-347: Fixed bug in validation of single parameters (validateParameter())
Commit: b9cecadbf23d6d2cc5b3d055f4106c1f556fa15c
https://github.com/hibernate/hibernate-validator/commit/b9cecadbf23d6d2cc...
Author: Hardy Ferentschik <hibernate(a)ferentschik.de>
Date: 2011-01-12 (Wed, 12 Jan 2011)
Changed paths:
M hibernate-validator/src/main/java/org/hibernate/validator/MethodConstraintViolation.java
M hibernate-validator/src/main/java/org/hibernate/validator/MethodConstraintViolationException.java
M hibernate-validator/src/main/java/org/hibernate/validator/MethodValidator.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ConfigurationImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ConstraintTree.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodConstraintViolationImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/MethodValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/PathImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidationContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValidatorImpl.java
M hibernate-validator/src/main/java/org/hibernate/validator/engine/ValueContext.java
M hibernate-validator/src/main/java/org/hibernate/validator/metadata/BeanMetaDataImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationGroupSequenceTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/MethodLevelValidationTest.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/ValidationInvocationHandler.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepository.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/CustomerRepositoryImpl.java
M hibernate-validator/src/test/java/org/hibernate/validator/test/engine/methodlevel/service/RepositoryBase.java
Log Message:
-----------
HV-347 Formatting
14 years