Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-validator
Commit: 1f3d1c6fc6ac67f5162a972112a76e6ae4e97a01
https://github.com/hibernate/hibernate-validator/commit/1f3d1c6fc6ac67f51...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
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/ConstraintMappingContextImplBase.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConstructorConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.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/ExecutableConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/MethodConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ParameterConstraintMappingContextImpl.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/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/ConstraintViolationImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
R
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
R
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/MetaDataBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ParameterMetaData.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/MethodConfigurationRule.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/OverridingMethodMustNotAlterParameterConstraints.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/ParallelMethodsMustNotDefineParameterConstraints.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/ReturnValueMayOnlyBeMarkedOnceAsCascadedPerHierarchyLine.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/VoidMethodsMustNotBeReturnValueConstrained.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/core/AnnotationProcessingOptions.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/core/AnnotationProcessingOptionsImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/BeanConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
R
engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
R
engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/TypeArgumentConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedField.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedParameter.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Constrainable.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/ConstrainableType.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Property.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBean.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/package-info.java
M engine/src/main/java/org/hibernate/validator/internal/util/ExecutableHelper.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
A
engine/src/main/java/org/hibernate/validator/internal/util/logging/formatter/ConstrainableFormatter.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedConstructorStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedFieldStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedMethodStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedParameterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstraintTypeStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/failfast/FailFastTest.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/location/ConstraintLocationTest.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/AnnotationMetaDataProviderTestBase.java
M
test-utils/src/main/java/org/hibernate/validator/testutil/ConstraintViolationAssert.java
Log Message:
-----------
HV-1623 Build abstraction over reflection in ConstraintLocation and related code
Commit: b44547d2ce315c7a7eb2e1c4150a7d9185d82396
https://github.com/hibernate/hibernate-validator/commit/b44547d2ce315c7a7...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
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/PropertyConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldPropertyConstraintLocation.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedFieldStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/location/ConstraintLocationTest.java
Log Message:
-----------
HV-1623 Reintroduce field and getter constraint locations
Commit: 8a80bcd3354730ffdc7f3db591fd498fb67b6d74
https://github.com/hibernate/hibernate-validator/commit/8a80bcd3354730ffd...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
A
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
Log Message:
-----------
HV-1623 Clean ups around cascadable properties in PropertyMetaData
Commit: 4a6500f510fc0ef43688a8cc67613ae37c7558d5
https://github.com/hibernate/hibernate-validator/commit/4a6500f510fc0ef43...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
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/PropertyConstraintMappingContextImpl.java
Log Message:
-----------
HV-1623 Remove redundant check in ConfiguredConstraint
- based on the usage of the method we cannot receive methods into it,
hence the check can be removed. And also the method can be named more
specific to represent what it is really should be doing.
Commit: a9c4de8eac60818e07457972aa6dd89f3b60722b
https://github.com/hibernate/hibernate-validator/commit/a9c4de8eac60818e0...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
Log Message:
-----------
HV-1623 Clean up property metadata
- changed Constrainable to Property to better represent the intended objects
to be processed by the builder
- removed unused parameters, fields and methods
Commit: e409264da8bb06be253325f07729e8b64d88d648
https://github.com/hibernate/hibernate-validator/commit/e409264da8bb06be2...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1623 Add additional checks before casting
Commit: 7356867ec9f530372960542aaeb4c1f927b079e0
https://github.com/hibernate/hibernate-validator/commit/7356867ec9f530372...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
R
engine/src/main/java/org/hibernate/validator/internal/util/logging/formatter/ConstrainableFormatter.java
Log Message:
-----------
HV-1623 Remove ConstrainableFormatter and push the logic to toString implementations
Commit: 99e73809f3a5fecffae02d6b7b71f5be73d32328
https://github.com/hibernate/hibernate-validator/commit/99e73809f3a5fecff...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
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/ConstraintMappingContextImplBase.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/MetaDataBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/core/MetaConstraint.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ElementDescriptorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ClassConstraintTypeStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedFieldStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedParameterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstraintTypeStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ContainerElementTypeStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ExpressionLanguageMessageInterpolationTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/engine/messageinterpolation/ResourceBundleMessageInterpolatorTest.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
Log Message:
-----------
HV-1623 Wrap ElementType with ConstraintLocationKind
Commit: 7ef6fcbabd79c1301d9ac93e9eb9956fc363f58e
https://github.com/hibernate/hibernate-validator/commit/7ef6fcbabd79c1301...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ExecutableConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ParameterConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanAnnotatedConstrainable.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanAnnotatedElement.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanConstructor.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanMethod.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanParameter.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedConstructorStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedMethodStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedParameterStaxBuilder.java
Log Message:
-----------
HV-1623 More abstraction work around executables
Commit: b0beaafd3bbc8e7aa15db22f091981fb2710b3a8
https://github.com/hibernate/hibernate-validator/commit/b0beaafd3bbc8e7aa...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/engine/ConstraintViolationImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
M engine/src/main/java/org/hibernate/validator/internal/engine/ValueContext.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/BeanValidationContext.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ParameterExecutableValidationContext.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/ReturnValueExecutableValidationContext.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ParameterMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ReturnValueMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/core/MetaConstraint.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/facets/Cascadable.java
Log Message:
-----------
HV-1623 Propagate ConstraintLocationKind as far as possible
Commit: 8d96d9bd81c7c2cf249d2d9f7af8e2a5b64f25c4
https://github.com/hibernate/hibernate-validator/commit/8d96d9bd81c7c2cf2...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
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/ConstraintMappingContextImplBase.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/BeanConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldPropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/TypeArgumentConstraintLocation.java
Log Message:
-----------
HV-1623 Encapsulate ConstraintLocationKind inside ConstraintLocation
Commit: 76fc93e39332ab0d05024fa53603bbe29e88780f
https://github.com/hibernate/hibernate-validator/commit/76fc93e39332ab0d0...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ClassMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ClassDescriptorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
Log Message:
-----------
HV-1623 Extract class-level metadata from property metadata case
Commit: 42fe6d005a19a7c70fe5bae2f0cc62c65a3d319f
https://github.com/hibernate/hibernate-validator/commit/42fe6d005a19a7c70...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
A
engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldPropertyConstraintMappingContextImpl.java
A
engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterPropertyConstraintMappingContextImpl.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/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1623 Create different programmatic mapping contexts for getter and field
- create different implementations of PropertyConstraintMappingContextImpl
for getter and field to separate the logic.
Commit: 9290ed99298e6b79f60858056c48146a31ef0c5a
https://github.com/hibernate/hibernate-validator/commit/9290ed99298e6b79f...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConstructorConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/MethodConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
Log Message:
-----------
HV-1623 Make parameters more specific in programmatic API executable mapping contexts
Commit: 45487f9c8f96c2df79fdf9036e4fb5f9153d2ab2
https://github.com/hibernate/hibernate-validator/commit/45487f9c8f96c2df7...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M engine/src/main/java/org/hibernate/validator/cfg/context/PropertyTarget.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ContainerElementConstraintMappingContextImpl.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/TypeConstraintMappingContextImpl.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
Log Message:
-----------
HV-1623 Deprecate property() in programmatic API and introduce field() and getter()
instead
- add two new methods field() and getter() to replace deprecated property()
- update property constraint mapping implementations to use generics and get rid of
casting objects
Commit: 7453dec7ab5079c7a8e7b2ea4aa092a75400d5cf
https://github.com/hibernate/hibernate-validator/commit/7453dec7ab5079c7a...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M engine/src/main/java/org/hibernate/validator/internal/util/Contracts.java
Log Message:
-----------
HV-1623 Replace empty check in Contracts with null and empty check at the same time
- based on our usage of not empty check passed parameters should not be null as well hence
the implementation of the check can use StringHelper.isNullOrEmptyString utility method.
Commit: 657fa9627efdc07ac6f687974445340b64921aee
https://github.com/hibernate/hibernate-validator/commit/657fa9627efdc07ac...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/descriptor/ConstraintDescriptorImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ConstrainedGetterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M
engine/src/test/java/org/hibernate/validator/testutils/ConstraintValidatorInitializationHelper.java
Log Message:
-----------
HV-1623 Introduce getter as a constraint location kind
Commit: 49ca317da9c18346db17425f51703a040d0fdcbf
https://github.com/hibernate/hibernate-validator/commit/49ca317da9c18346d...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/CrossParameterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ParameterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ReturnValueConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedElement.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/CrossParameterStaxBuilder.java
M
engine/src/main/java/org/hibernate/validator/internal/xml/mapping/ReturnValueStaxBuilder.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
Log Message:
-----------
HV-1623 Introduce ConstrainedElementKind.GETTER
Commit: 3b423198325b3006580c036d1e2def3449635321
https://github.com/hibernate/hibernate-validator/commit/3b423198325b30065...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/ConfiguredConstraint.java
A
engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldConstraintMappingContextImpl.java
R
engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldPropertyConstraintMappingContextImpl.java
A
engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterConstraintMappingContextImpl.java
R
engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterPropertyConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
R
engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldPropertyConstraintLocation.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
R
engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterPropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
Log Message:
-----------
HV-1623 Stop the propagation of JavaBeanField/Getter
We don't need the elements to be typed so let's be looser to open the
gate for JSON properties (which will probably simply be treated as
fields).
Commit: 67a5d3c727237c323270455263bddcc64b6b55a4
https://github.com/hibernate/hibernate-validator/commit/67a5d3c727237c323...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
A
engine/src/main/java/org/hibernate/validator/internal/cfg/context/AbstractPropertyConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/FieldConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/GetterConstraintMappingContextImpl.java
R
engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
R
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
A
engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
R
engine/src/main/java/org/hibernate/validator/internal/metadata/location/PropertyConstraintLocation.java
Log Message:
-----------
HV-1623 Rename a couple of classes to Abstract*
Commit: e54063a4c2368f150cc167d405f568bf6fa0a09d
https://github.com/hibernate/hibernate-validator/commit/e54063a4c2368f150...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/AbstractPropertyConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
M
engine/src/main/java/org/hibernate/validator/internal/engine/validationcontext/PropertyValidationContext.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/FieldCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/GetterCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/ConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/FieldConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/GetterConstraintLocation.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedField.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Callable.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Constrainable.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Field.java
A engine/src/main/java/org/hibernate/validator/internal/properties/Getter.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
M engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
M
engine/src/test/java/org/hibernate/validator/test/internal/metadata/provider/AnnotationMetaDataProviderTestBase.java
Log Message:
-----------
HV-1623 Introduce Field and Getter as subclasses of Property
Commit: be04ce8d781c60643eaf0748335ffd3e3b0bc585
https://github.com/hibernate/hibernate-validator/commit/be04ce8d781c60643...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/PropertyMetaData.java
M engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
Log Message:
-----------
HV-1623 Throw exception in case of unexpected constrainedElement class in property
metadata
- need to throw an exception rather than just create it
- removed the usage of Optional as it isn't needed anymore
Commit: 856d86448c5390250e499b7e7d500eced851bb60
https://github.com/hibernate/hibernate-validator/commit/856d86448c5390250...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/AbstractPropertyCascadable.java
M
engine/src/main/java/org/hibernate/validator/internal/metadata/location/AbstractPropertyConstraintLocation.java
M engine/src/main/java/org/hibernate/validator/internal/properties/Property.java
A
engine/src/main/java/org/hibernate/validator/internal/properties/PropertyAccessor.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanGetter.java
Log Message:
-----------
HV-1623 Make the fields/getters accessible lazily
Commit: bf09b02794beddb2481ec904f271ef37891c329b
https://github.com/hibernate/hibernate-validator/commit/bf09b02794beddb24...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/provider/AnnotationMetaDataProvider.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanExecutable.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanField.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanParameter.java
Log Message:
-----------
HV-1623 Reduce the memory footprint of the new reflection abstraction
Commit: f5b8470374f71d7c0d533ca88d88523f81ce001a
https://github.com/hibernate/hibernate-validator/commit/f5b8470374f71d7c0...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ClassMetaData.java
Log Message:
-----------
fixup! HV-1623 Extract class-level metadata from property metadata case
Commit: 429968bdf8b3660a84e7d972f49623ea3dfeb07b
https://github.com/hibernate/hibernate-validator/commit/429968bdf8b3660a8...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/core/AnnotationProcessingOptionsImpl.java
Log Message:
-----------
HV-1631 Avoid doing two lookups in the read methods of AnnotationProcessingOptionsImpl
Commit: e42c4d94c41c62591c122aa196c4084a4e086b37
https://github.com/hibernate/hibernate-validator/commit/e42c4d94c41c62591...
Author: Guillaume Smet <guillaume.smet(a)gmail.com>
Date: 2018-06-11 (Mon, 11 Jun 2018)
Changed paths:
M
engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
M
engine/src/main/java/org/hibernate/validator/internal/properties/javabean/JavaBeanConstructor.java
Log Message:
-----------
HV-1623 Remove a useless usage of getDeclaringClass()
Compare:
https://github.com/hibernate/hibernate-validator/compare/47e91bf1abe6...e...
**NOTE:** This service been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from
GitHub.com on January 31st, 2019.