Permalink
Browse files

HV-884 Switching build to use JDK 8

  • Loading branch information...
khalidq committed May 2, 2014
1 parent 924aa07 commit eeba5c65a9c3ebb89aa240bd5562b5ba19df649a
Showing with 166 additions and 112 deletions.
  1. +1 −1 README.md
  2. +1 −0 annotation-processor/src/main/java/org/hibernate/validator/ap/ConstraintValidationProcessor.java
  3. +3 −1 annotation-processor/src/main/java/org/hibernate/validator/ap/checks/ConstraintCheckError.java
  4. +2 −3 annotation-processor/src/main/java/org/hibernate/validator/ap/checks/GroupSequenceProviderCheck.java
  5. +6 −0 annotation-processor/src/main/java/org/hibernate/validator/ap/util/Configuration.java
  6. +2 −2 annotation-processor/src/main/java/org/hibernate/validator/ap/util/ConstraintHelper.java
  7. +1 −1 annotation-processor/src/test/java/org/hibernate/validator/ap/ConstraintValidationProcessorTest.java
  8. +1 −1 ...a/org/hibernate/validator/ap/testmodel/groupsequenceprovider/BazDefaultGroupSequenceProvider.java
  9. +1 −1 ...hibernate/validator/ap/testmodel/groupsequenceprovider/FooBarBazDefaultGroupSequenceProvider.java
  10. +1 −1 ...rg/hibernate/validator/ap/testmodel/groupsequenceprovider/FooBarDefaultGroupSequenceProvider.java
  11. +1 −1 ...a/org/hibernate/validator/ap/testmodel/groupsequenceprovider/FooDefaultGroupSequenceProvider.java
  12. +1 −1 ...a/org/hibernate/validator/ap/testmodel/groupsequenceprovider/GroupSequenceProviderDefinition.java
  13. +1 −1 ...a/org/hibernate/validator/ap/testmodel/groupsequenceprovider/QuxDefaultGroupSequenceProvider.java
  14. +1 −1 ...rg/hibernate/validator/ap/testmodel/groupsequenceprovider/SampleDefaultGroupSequenceProvider.java
  15. +1 −0 cdi/src/main/java/org/hibernate/validator/internal/cdi/ValidationExtension.java
  16. +2 −0 cdi/src/main/java/org/hibernate/validator/internal/cdi/ValidationProviderHelper.java
  17. +2 −1 cdi/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationInterceptor.java
  18. +0 −1 distribution/pom.xml
  19. +1 −2 engine/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
  20. +1 −1 engine/src/main/java/org/hibernate/validator/HibernateValidatorContext.java
  21. +1 −1 engine/src/main/java/org/hibernate/validator/HibernateValidatorFactory.java
  22. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/ConstraintMapping.java
  23. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/Cascadable.java
  24. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/Constrainable.java
  25. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/MethodTarget.java
  26. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/ParameterConstraintMappingContext.java
  27. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/ParameterTarget.java
  28. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/PropertyConstraintMappingContext.java
  29. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/PropertyTarget.java
  30. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/ReturnValueConstraintMappingContext.java
  31. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/ReturnValueTarget.java
  32. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/TypeConstraintMappingContext.java
  33. +1 −1 engine/src/main/java/org/hibernate/validator/cfg/context/TypeTarget.java
  34. +4 −2 engine/src/main/java/org/hibernate/validator/constraints/ConstraintComposition.java
  35. +1 −1 engine/src/main/java/org/hibernate/validator/constraints/EAN.java
  36. +1 −1 engine/src/main/java/org/hibernate/validator/constraints/Mod10Check.java
  37. +3 −3 engine/src/main/java/org/hibernate/validator/constraints/Mod11Check.java
  38. +4 −3 engine/src/main/java/org/hibernate/validator/constraints/SafeHtml.java
  39. +0 −2 engine/src/main/java/org/hibernate/validator/constraints/ScriptAssert.java
  40. +1 −1 engine/src/main/java/org/hibernate/validator/group/GroupSequenceProvider.java
  41. +1 −1 engine/src/main/java/org/hibernate/validator/internal/cfg/DefaultConstraintMapping.java
  42. +1 −1 ...ain/java/org/hibernate/validator/internal/cfg/context/ExecutableConstraintMappingContextImpl.java
  43. +1 −1 ...main/java/org/hibernate/validator/internal/cfg/context/ParameterConstraintMappingContextImpl.java
  44. +1 −1 .../main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
  45. +1 −1 ...in/java/org/hibernate/validator/internal/cfg/context/ReturnValueConstraintMappingContextImpl.java
  46. +1 −1 .../src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
  47. +1 −1 ...java/org/hibernate/validator/internal/constraintvalidators/FutureValidatorForReadableInstant.java
  48. +1 −1 ...java/org/hibernate/validator/internal/constraintvalidators/FutureValidatorForReadablePartial.java
  49. +1 −1 .../main/java/org/hibernate/validator/internal/constraintvalidators/MaxValidatorForCharSequence.java
  50. +1 −1 .../main/java/org/hibernate/validator/internal/constraintvalidators/MinValidatorForCharSequence.java
  51. +1 −1 ...n/java/org/hibernate/validator/internal/constraintvalidators/PastValidatorForReadableInstant.java
  52. +1 −1 ...n/java/org/hibernate/validator/internal/constraintvalidators/PastValidatorForReadablePartial.java
  53. +1 −1 ...ne/src/main/java/org/hibernate/validator/internal/constraintvalidators/ScriptAssertValidator.java
  54. +1 −1 engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
  55. +1 −1 engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorContextImpl.java
  56. +1 −1 engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
  57. +1 −1 engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
  58. +1 −1 ...ne/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintTree.java
  59. +5 −1 ...java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorManager.java
  60. +1 −1 engine/src/main/java/org/hibernate/validator/internal/engine/groups/ValidationOrderGenerator.java
  61. +1 −1 engine/src/main/java/org/hibernate/validator/internal/engine/path/PathImpl.java
  62. +1 −1 engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
  63. +2 −1 engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
  64. +16 −0 .../main/java/org/hibernate/validator/internal/metadata/aggregated/rule/MethodConfigurationRule.java
  65. +4 −0 engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
  66. +1 −0 engine/src/main/java/org/hibernate/validator/internal/metadata/provider/MetaDataProvider.java
  67. +1 −0 engine/src/main/java/org/hibernate/validator/internal/metadata/provider/XmlMetaDataProvider.java
  68. +3 −0 engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
  69. +2 −0 engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedParameter.java
  70. +1 −1 engine/src/main/java/org/hibernate/validator/internal/util/CollectionHelper.java
  71. +5 −0 engine/src/main/java/org/hibernate/validator/internal/util/ConcurrentReferenceHashMap.java
  72. +1 −1 engine/src/main/java/org/hibernate/validator/internal/util/Contracts.java
  73. +2 −1 engine/src/main/java/org/hibernate/validator/internal/util/ExecutableHelper.java
  74. +4 −3 engine/src/main/java/org/hibernate/validator/internal/util/ReflectionHelper.java
  75. +2 −0 engine/src/main/java/org/hibernate/validator/internal/util/TypeHelper.java
  76. +1 −1 engine/src/main/java/org/hibernate/validator/internal/util/Version.java
  77. +2 −2 engine/src/main/java/org/hibernate/validator/internal/util/annotationfactory/AnnotationProxy.java
  78. +2 −0 engine/src/main/java/org/hibernate/validator/internal/util/classhierarchy/ClassHierarchyHelper.java
  79. +2 −2 engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
  80. +1 −1 engine/src/main/java/org/hibernate/validator/internal/util/logging/LoggerFactory.java
  81. +1 −1 engine/src/main/java/org/hibernate/validator/internal/util/privilegedactions/GetDeclaredMethod.java
  82. +1 −1 engine/src/main/java/org/hibernate/validator/internal/util/privilegedactions/LoadClass.java
  83. +1 −1 engine/src/main/java/org/hibernate/validator/internal/util/scriptengine/ScriptEvaluator.java
  84. +1 −1 engine/src/main/java/org/hibernate/validator/internal/util/scriptengine/ScriptEvaluatorFactory.java
  85. +1 −1 ...src/main/java/org/hibernate/validator/messageinterpolation/ResourceBundleMessageInterpolator.java
  86. +2 −2 engine/src/main/java/org/hibernate/validator/resourceloading/AggregateResourceBundleLocator.java
  87. +1 −1 engine/src/main/java/org/hibernate/validator/resourceloading/CachingResourceBundleLocator.java
  88. +1 −1 engine/src/main/java/org/hibernate/validator/spi/group/DefaultGroupSequenceProvider.java
  89. +1 −1 engine/src/main/java/org/hibernate/validator/spi/valuehandling/ValidatedValueUnwrapper.java
  90. +1 −1 engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
  91. +1 −1 engine/src/test/java/org/hibernate/validator/test/cfg/MethodConstraintMappingTest.java
  92. +1 −1 ...hibernate/validator/test/internal/constraintvalidators/FutureValidatorForReadableInstantTest.java
  93. +1 −1 ...hibernate/validator/test/internal/constraintvalidators/FutureValidatorForReadablePartialTest.java
  94. +1 −1 ...g/hibernate/validator/test/internal/constraintvalidators/PastValidatorForReadableInstantTest.java
  95. +1 −1 ...g/hibernate/validator/test/internal/constraintvalidators/PastValidatorForReadablePartialTest.java
  96. +1 −1 engine/src/test/java/org/hibernate/validator/test/internal/engine/ValidatorTest.java
  97. +1 −1 engine/src/test/java/org/hibernate/validator/test/internal/engine/failfast/FailFastTest.java
  98. +1 −1 ...or/test/internal/engine/groups/defaultgroupsequenceprovider/DefaultGroupSequenceProviderTest.java
  99. +1 −1 ...idator/test/internal/engine/groups/defaultgroupsequenceprovider/DynamicGroupSequenceProvider.java
  100. +1 −1 ...org/hibernate/validator/test/internal/engine/groups/defaultgroupsequenceprovider/StrongCheck.java
  101. +1 −1 ...t/java/org/hibernate/validator/test/internal/engine/groups/defaultgroupsequenceprovider/User.java
  102. +1 −1 ...src/test/java/org/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/Car.java
  103. +1 −1 ...nate/validator/test/internal/engine/groups/redefiningdefaultgroup/RedefiningDefaultGroupTest.java
  104. +1 −1 ...a/org/hibernate/validator/test/internal/engine/messageinterpolation/MessageInterpolationTest.java
  105. +1 −1 engine/src/test/java/org/hibernate/validator/test/internal/engine/path/PathImplTest.java
  106. +1 −1 engine/src/test/java/org/hibernate/validator/testutil/ConstraintViolationAssert.java
  107. +1 −1 engine/src/test/java/org/hibernate/validator/testutil/CountValidationCalls.java
  108. +1 −1 engine/src/test/java/org/hibernate/validator/testutil/CountValidationCallsValidator.java
  109. +1 −1 engine/src/test/java/org/hibernate/validator/testutil/ValidatorUtil.java
  110. +1 −1 pom.xml
View
@@ -74,7 +74,7 @@ the Apache Software License 2.0. Refer to license.txt for more information.
## Build from Source
You can build Hibernate Validator from source by cloning the git repository git://github.com/hibernate/hibernate-validator.git.
-You will also need a JDK 7 and Maven 3 (>= 3.0.3). With these prerequisites in place you can compile the source via
+You will also need a JDK 8 and Maven 3 (>= 3.0.3). With these prerequisites in place you can compile the source via
mvn clean install -s settings-example.xml
@@ -52,6 +52,7 @@
* set to <code>false</code> in order to allow only getter based property
* constraints but not method level constraints as supported by Hibernate
* Validator. Default is <code>true</code>.</li>
+ * </ul>
*
* @author Hardy Ferentschik
* @author Gunnar Morling
@@ -43,8 +43,10 @@
* @param element The element at which the error occurred.
* @param annotationMirror The annotation that causes the error.
* @param messageKey A key for retrieving an error message template from the bundle
- * <p/>
+ * <p>
* <code>org.hibernate.validator.ap.ValidationProcessorMessages.</code>
+ * </p>
+ *
* @param messageParameters An array with values to put into the error message template
* using {@link java.text.MessageFormat}. The number of elements must match
* the number of place holders in the message template.
@@ -40,7 +40,7 @@
/**
* Checks that the {@link org.hibernate.validator.group.GroupSequenceProvider}
* annotation definition is valid.
- * <p>
+ * <br>
* This check ensure that :
* <ul>
* <li>The annotation is not defined on an interface.</li>
@@ -53,9 +53,8 @@
* <li>The class hosting the annotation is not already annotated with
* {@link javax.validation.GroupSequence}.</li>
* </ul>
- * </p>
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class GroupSequenceProviderCheck extends AbstractConstraintCheck {
@@ -66,13 +66,17 @@ public Configuration(Map<String, String> options, Messager messager) {
/**
* Returns the diagnosticKind to be used when reporting failing constraint checks.
+ *
+ * @return the diagnosticKind to be used when reporting failing constraint checks
*/
public Kind getDiagnosticKind() {
return diagnosticKind;
}
/**
* Whether logging information shall be put out in a verbose way or not.
+ *
+ * @return {@code true} if logging information shall be put out in a verbose, {@code false} otherwise
*/
public boolean isVerbose() {
return verbose;
@@ -81,6 +85,8 @@ public boolean isVerbose() {
/**
* Whether method constraints are allowed at any method (<code>true</code>) or only
* getter methods (<code>false</code>).
+ *
+ * @return {@code true} if method constraints are allowed on any method, {code false} if only on getter methods
*/
public boolean methodConstraintsSupported() {
return methodConstraintsSupported;
@@ -46,7 +46,7 @@
* whether a given annotation is allowed to be declared at a given element.
*
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class ConstraintHelper {
@@ -79,7 +79,7 @@
* The type of an annotation with respect to the BV API.
*
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public enum AnnotationType {
@@ -81,7 +81,7 @@
* Miscellaneous tests for {@link ConstraintValidationProcessor}.
*
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class ConstraintValidationProcessorTest extends ConstraintValidationProcessorTestBase {
@@ -22,7 +22,7 @@
import org.hibernate.validator.spi.group.DefaultGroupSequenceProvider;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface BazDefaultGroupSequenceProvider extends DefaultGroupSequenceProvider<Baz> {
List<Class<?>> getValidationGroups(GroupSequenceProviderDefinition.Baz object);
@@ -22,7 +22,7 @@
import org.hibernate.validator.spi.group.DefaultGroupSequenceProvider;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class FooBarBazDefaultGroupSequenceProvider implements DefaultGroupSequenceProvider<FooBarBaz> {
@@ -22,7 +22,7 @@
import org.hibernate.validator.spi.group.DefaultGroupSequenceProvider;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public abstract class FooBarDefaultGroupSequenceProvider implements DefaultGroupSequenceProvider<FooBar> {
@@ -22,7 +22,7 @@
import org.hibernate.validator.spi.group.DefaultGroupSequenceProvider;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class FooDefaultGroupSequenceProvider implements DefaultGroupSequenceProvider<Foo> {
@@ -21,7 +21,7 @@
import org.hibernate.validator.group.GroupSequenceProvider;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class GroupSequenceProviderDefinition {
@@ -22,7 +22,7 @@
import org.hibernate.validator.spi.group.DefaultGroupSequenceProvider;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class QuxDefaultGroupSequenceProvider implements DefaultGroupSequenceProvider<Qux> {
@@ -22,7 +22,7 @@
import org.hibernate.validator.spi.group.DefaultGroupSequenceProvider;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class SampleDefaultGroupSequenceProvider implements DefaultGroupSequenceProvider<Sample> {
@@ -220,6 +220,7 @@ else if ( bean.getTypes().contains( Validator.class ) || bean instanceof Validat
* Used to register the method validation interceptor bindings.
*
* @param processAnnotatedTypeEvent event fired for each annotated type
+ * @param <T> the annotated type
*/
public <T> void processAnnotatedType(@Observes @WithAnnotations({
Constraint.class,
@@ -82,6 +82,8 @@ private ValidationProviderHelper(boolean isDefaultProvider,
/**
* Whether the given provider is the default provider or not.
+ *
+ * @return {@code true} if the given provider is the default provider, {@code false} otherwise
*/
public boolean isDefaultProvider() {
return isDefaultProvider;
@@ -50,10 +50,11 @@
/**
* The validator to be used for method validation.
- * <p/>
+ * <p>
* Although the concrete validator is not necessarily serializable (and HV's implementation indeed isn't) it is still
* alright to have it as non-transient field here. Upon passivation not the validator itself will be serialized, but the
* proxy injected here, which in turn is serializable.
+ * </p>
*/
@Inject
private Validator validator;
View
@@ -102,7 +102,6 @@
<configuration>
<sourcepath>
${basedir}/../engine/src/main/java;
- ${basedir}/../engine/target/generated-sources;
${basedir}/../cdi/src/main/java;
${basedir}/../annotation-processor/src/main/java
</sourcepath>
@@ -28,7 +28,7 @@
*
* @author Emmanuel Bernard
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
* @author Hardy Ferentschik
*/
public interface HibernateValidatorConfiguration extends Configuration<HibernateValidatorConfiguration> {
@@ -56,7 +56,6 @@
* This locator can be used as delegate for custom locators when setting a
* customized {@link org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator}:
* </p>
- * <p/>
* <pre>
* {@code
* HibernateValidatorConfiguration configure =
@@ -30,7 +30,7 @@
* provided by {@link ValidatorContext}.
*
* @author Emmanuel Bernard
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface HibernateValidatorContext extends ValidatorContext {
@@ -23,7 +23,7 @@
* Provides Hibernate Validator extensions to {@link ValidatorFactory}.
*
* @author Emmanuel Bernard
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface HibernateValidatorFactory extends ValidatorFactory {
@@ -23,7 +23,7 @@
*
* @author Hardy Ferentschik
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface ConstraintMapping {
/**
@@ -21,7 +21,7 @@
* element as to be validated in a cascaded way.
*
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface Cascadable<C extends Cascadable<C>> {
@@ -23,7 +23,7 @@
* constraints on the underlying element.
*
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface Constrainable<C extends Constrainable<C>> {
/**
@@ -20,7 +20,7 @@
* Facet of a constraint mapping creational context which allows to the select the bean
* method to which the next operations shall apply.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
* @author Gunnar Morling
*/
public interface MethodTarget {
@@ -22,7 +22,7 @@
* navigate to other constraint targets.
*
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface ParameterConstraintMappingContext extends TypeTarget, CrossParameterTarget, ParameterTarget,
ReturnValueTarget, ConstructorTarget, MethodTarget, Constrainable<ParameterConstraintMappingContext>,
@@ -20,7 +20,7 @@
* Facet of a constraint mapping creational context which allows to the select a method or constructor parameter to
* which the next operations shall apply.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
* @author Gunnar Morling
*/
public interface ParameterTarget {
@@ -22,7 +22,7 @@
* navigate to other constraint targets.
*
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface PropertyConstraintMappingContext extends Constrainable<PropertyConstraintMappingContext>,
TypeTarget,
@@ -22,7 +22,7 @@
* Facet of a constraint mapping creational context which allows to the select the bean
* property to which the next operations shall apply.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
* @author Gunnar Morling
*/
public interface PropertyTarget {
@@ -22,7 +22,7 @@
* navigate to other constraint targets.
*
* @author Gunnar Morling
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public interface ReturnValueConstraintMappingContext
extends TypeTarget, ParameterTarget, CrossParameterTarget, ConstructorTarget, MethodTarget, Constrainable<ReturnValueConstraintMappingContext>, Cascadable<ReturnValueConstraintMappingContext>, Unwrapable<ReturnValueConstraintMappingContext> {
@@ -20,7 +20,7 @@
* Facet of a constraint mapping creational context which allows to the select the current method's or constructor's
* return value as target for the next operations.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
* @author Gunnar Morling
*/
public interface ReturnValueTarget {
@@ -25,7 +25,7 @@
*
* @param <C> The type represented by this creational context.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
* @author Gunnar Morling
*/
public interface TypeConstraintMappingContext<C> extends Constrainable<TypeConstraintMappingContext<C>>,
@@ -20,7 +20,7 @@
* Facet of a constraint mapping creational context which allows to the select the bean
* type to which the next operations shall apply.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
* @author Gunnar Morling
*/
public interface TypeTarget {
@@ -27,10 +27,10 @@
/**
* Boolean operator that is applied to all constraints of a composing constraint annotation.
- * <p/>
+ * <p>
* A composed constraint annotation can define a boolean combination of the constraints composing it,
* by using {@code @ConstraintComposition}.
- *
+ * </p>
* @author Dag Hovland
* @author Federico Mancini
*/
@@ -42,6 +42,8 @@
* The value of this element specifies the boolean operator,
* namely disjunction (OR), negation of the conjunction (ALL_FALSE),
* or, the default, simple conjunction (AND).
+ *
+ * @return the {@code CompositionType} value
*/
CompositionType value() default AND;
}
@@ -34,7 +34,7 @@
* Checks that the annotated character sequence is a valid
* <a href="http://en.wikipedia.org/wiki/International_Article_Number_%28EAN%29">EAN 13</a> number. The length of the
* number and the check digit are verified
- * </p>
+ *
* <p>
* The supported type is {@code CharSequence}. {@code null} is considered valid.
* </p>
@@ -85,7 +85,7 @@
/**
* @return The index of the check digit in the input. Per default it is assumed that the check digit is the last
* digit of the specified range. If set, the digit at the specified index is used. If set
- * the following must hold true:<br/>
+ * the following must hold true:<br>
* {@code checkDigitIndex > 0 && (checkDigitIndex < startIndex || checkDigitIndex >= endIndex}.
*/
int checkDigitIndex() default -1;
Oops, something went wrong.

0 comments on commit eeba5c6

Please sign in to comment.