Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

HV-884 Switching build to use JDK 8

  • Loading branch information...
commit eeba5c65a9c3ebb89aa240bd5562b5ba19df649a 1 parent 924aa07
@khalidq khalidq authored
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  ...c/test/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/BazDefaultGroupSequenceProvider.java
  9. +1 −1  .../java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/FooBarBazDefaultGroupSequenceProvider.java
  10. +1 −1  ...est/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/FooBarDefaultGroupSequenceProvider.java
  11. +1 −1  ...c/test/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/FooDefaultGroupSequenceProvider.java
  12. +1 −1  ...c/test/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/GroupSequenceProviderDefinition.java
  13. +1 −1  ...c/test/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/QuxDefaultGroupSequenceProvider.java
  14. +1 −1  ...est/java/org/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  engine/src/main/java/org/hibernate/validator/internal/cfg/context/ExecutableConstraintMappingContextImpl.java
  43. +1 −1  engine/src/main/java/org/hibernate/validator/internal/cfg/context/ParameterConstraintMappingContextImpl.java
  44. +1 −1  engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
  45. +1 −1  engine/src/main/java/org/hibernate/validator/internal/cfg/context/ReturnValueConstraintMappingContextImpl.java
  46. +1 −1  engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
  47. +1 −1  .../src/main/java/org/hibernate/validator/internal/constraintvalidators/FutureValidatorForReadableInstant.java
  48. +1 −1  .../src/main/java/org/hibernate/validator/internal/constraintvalidators/FutureValidatorForReadablePartial.java
  49. +1 −1  engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/MaxValidatorForCharSequence.java
  50. +1 −1  engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/MinValidatorForCharSequence.java
  51. +1 −1  ...ne/src/main/java/org/hibernate/validator/internal/constraintvalidators/PastValidatorForReadableInstant.java
  52. +1 −1  ...ne/src/main/java/org/hibernate/validator/internal/constraintvalidators/PastValidatorForReadablePartial.java
  53. +1 −1  engine/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  engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintTree.java
  59. +5 −1 .../src/main/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 engine/src/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  engine/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  .../java/org/hibernate/validator/test/internal/constraintvalidators/FutureValidatorForReadableInstantTest.java
  93. +1 −1  .../java/org/hibernate/validator/test/internal/constraintvalidators/FutureValidatorForReadablePartialTest.java
  94. +1 −1  ...st/java/org/hibernate/validator/test/internal/constraintvalidators/PastValidatorForReadableInstantTest.java
  95. +1 −1  ...st/java/org/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  ...te/validator/test/internal/engine/groups/defaultgroupsequenceprovider/DefaultGroupSequenceProviderTest.java
  99. +1 −1  ...ernate/validator/test/internal/engine/groups/defaultgroupsequenceprovider/DynamicGroupSequenceProvider.java
  100. +1 −1  ...test/java/org/hibernate/validator/test/internal/engine/groups/defaultgroupsequenceprovider/StrongCheck.java
  101. +1 −1  ...ne/src/test/java/org/hibernate/validator/test/internal/engine/groups/defaultgroupsequenceprovider/User.java
  102. +1 −1  engine/src/test/java/org/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/Car.java
  103. +1 −1  .../org/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/RedefiningDefaultGroupTest.java
  104. +1 −1  ...c/test/java/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
2  README.md
@@ -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
View
1  annotation-processor/src/main/java/org/hibernate/validator/ap/ConstraintValidationProcessor.java
@@ -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
View
4 annotation-processor/src/main/java/org/hibernate/validator/ap/checks/ConstraintCheckError.java
@@ -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.
View
5 annotation-processor/src/main/java/org/hibernate/validator/ap/checks/GroupSequenceProviderCheck.java
@@ -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 {
View
6 annotation-processor/src/main/java/org/hibernate/validator/ap/util/Configuration.java
@@ -66,6 +66,8 @@ 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;
@@ -73,6 +75,8 @@ public Kind getDiagnosticKind() {
/**
* 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;
View
4 annotation-processor/src/main/java/org/hibernate/validator/ap/util/ConstraintHelper.java
@@ -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 {
View
2  annotation-processor/src/test/java/org/hibernate/validator/ap/ConstraintValidationProcessorTest.java
@@ -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 {
View
2  ...est/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/BazDefaultGroupSequenceProvider.java
@@ -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);
View
2  ...va/org/hibernate/validator/ap/testmodel/groupsequenceprovider/FooBarBazDefaultGroupSequenceProvider.java
@@ -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> {
View
2  .../java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/FooBarDefaultGroupSequenceProvider.java
@@ -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> {
View
2  ...est/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/FooDefaultGroupSequenceProvider.java
@@ -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> {
View
2  ...est/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/GroupSequenceProviderDefinition.java
@@ -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 {
View
2  ...est/java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/QuxDefaultGroupSequenceProvider.java
@@ -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> {
View
2  .../java/org/hibernate/validator/ap/testmodel/groupsequenceprovider/SampleDefaultGroupSequenceProvider.java
@@ -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> {
View
1  cdi/src/main/java/org/hibernate/validator/internal/cdi/ValidationExtension.java
@@ -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,
View
2  cdi/src/main/java/org/hibernate/validator/internal/cdi/ValidationProviderHelper.java
@@ -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;
View
3  cdi/src/main/java/org/hibernate/validator/internal/cdi/interceptor/ValidationInterceptor.java
@@ -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
1  distribution/pom.xml
@@ -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>
View
3  engine/src/main/java/org/hibernate/validator/HibernateValidatorConfiguration.java
@@ -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 =
View
2  engine/src/main/java/org/hibernate/validator/HibernateValidatorContext.java
@@ -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 {
View
2  engine/src/main/java/org/hibernate/validator/HibernateValidatorFactory.java
@@ -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 {
View
2  engine/src/main/java/org/hibernate/validator/cfg/ConstraintMapping.java
@@ -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 {
/**
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/Cascadable.java
@@ -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>> {
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/Constrainable.java
@@ -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>> {
/**
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/MethodTarget.java
@@ -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 {
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/ParameterConstraintMappingContext.java
@@ -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>,
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/ParameterTarget.java
@@ -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 {
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/PropertyConstraintMappingContext.java
@@ -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,
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/PropertyTarget.java
@@ -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 {
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/ReturnValueConstraintMappingContext.java
@@ -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> {
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/ReturnValueTarget.java
@@ -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 {
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/TypeConstraintMappingContext.java
@@ -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>>,
View
2  engine/src/main/java/org/hibernate/validator/cfg/context/TypeTarget.java
@@ -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 {
View
6 engine/src/main/java/org/hibernate/validator/constraints/ConstraintComposition.java
@@ -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;
}
View
2  engine/src/main/java/org/hibernate/validator/constraints/EAN.java
@@ -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>
View
2  engine/src/main/java/org/hibernate/validator/constraints/Mod10Check.java
@@ -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;
View
6 engine/src/main/java/org/hibernate/validator/constraints/Mod11Check.java
@@ -40,8 +40,8 @@
* calculate the check digit using {@code 11 - ( sum % 11 )}.
* </p>
* <p>
- * Example: The check digit for 24187 is 3<br />
- * Sum = 7x2 + 8x3 + 1x4 + 4x5 + 2x6 = 74 <br />
+ * Example: The check digit for 24187 is 3<br>
+ * Sum = 7x2 + 8x3 + 1x4 + 4x5 + 2x6 = 74 <br>
* 11 - (74 % 11) = 11 - 8 = 3, so "24187-3" is a valid character sequence.
* </p>
* <p>
@@ -91,7 +91,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;
View
7 engine/src/main/java/org/hibernate/validator/constraints/SafeHtml.java
@@ -116,10 +116,10 @@
* This whitelist allows a fuller range of text nodes:
* <code>a, b, blockquote, br, cite, code, dd, dl, dt, em, i, li, ol, p, pre, q, small, strike, strong, sub, sup, u, ul</code>
* , and appropriate attributes.
- * <p/>
+ * <p>
* Links (<code>a</code> elements) can point to <code>http, https, ftp, mailto</code>, and have an enforced
* <code>rel=nofollow</code> attribute.
- * <p/>
+ * </p>
* Does not allow images.
*/
BASIC,
@@ -136,8 +136,9 @@
* This whitelist allows a full range of text and structural body HTML:
* <code>a, b, blockquote, br, caption, cite, code, col, colgroup, dd, dl, dt, em, h1, h2, h3, h4, h5, h6, i, img, li,
* ol, p, pre, q, small, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, u, ul</code>
- * <p/>
+ * <p>
* Links do not have an enforced <code>rel=nofollow</code> attribute, but you can add that if desired.
+ * </p>
*/
RELAXED
}
View
2  engine/src/main/java/org/hibernate/validator/constraints/ScriptAssert.java
@@ -38,8 +38,6 @@
* found on the classpath. The following listing shows an example using the
* JavaScript engine, which comes with the JDK:
* </p>
- * <p/>
- *
* <pre>
* {@code @ScriptAssert(lang = "javascript", script = "_this.startDate.before(_this.endDate)")
* public class CalendarEvent {
View
2  engine/src/main/java/org/hibernate/validator/group/GroupSequenceProvider.java
@@ -35,7 +35,7 @@
* <li>{@code GroupSequenceProvider} is a Hibernate Validator specific annotation and not portable.</li>
* </ul>
*
- * @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
* @see javax.validation.GroupSequence
*/
View
2  engine/src/main/java/org/hibernate/validator/internal/cfg/DefaultConstraintMapping.java
@@ -37,7 +37,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 class DefaultConstraintMapping implements ConstraintMapping {
View
2  ...e/src/main/java/org/hibernate/validator/internal/cfg/context/ExecutableConstraintMappingContextImpl.java
@@ -46,7 +46,7 @@
* A constraint mapping creational context which allows to select the parameter or
* return value 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 class ExecutableConstraintMappingContextImpl
View
2  ...ne/src/main/java/org/hibernate/validator/internal/cfg/context/ParameterConstraintMappingContextImpl.java
@@ -36,7 +36,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 final class ParameterConstraintMappingContextImpl
extends CascadableConstraintMappingContextImplBase<ParameterConstraintMappingContext>
View
2  engine/src/main/java/org/hibernate/validator/internal/cfg/context/PropertyConstraintMappingContextImpl.java
@@ -39,7 +39,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 final class PropertyConstraintMappingContextImpl
extends CascadableConstraintMappingContextImplBase<PropertyConstraintMappingContext>
View
2  .../src/main/java/org/hibernate/validator/internal/cfg/context/ReturnValueConstraintMappingContextImpl.java
@@ -29,7 +29,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 final class ReturnValueConstraintMappingContextImpl
extends CascadableConstraintMappingContextImplBase<ReturnValueConstraintMappingContext>
View
2  engine/src/main/java/org/hibernate/validator/internal/cfg/context/TypeConstraintMappingContextImpl.java
@@ -56,7 +56,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 final class TypeConstraintMappingContextImpl<C> extends ConstraintMappingContextImplBase
implements TypeConstraintMappingContext<C> {
View
2  ...c/main/java/org/hibernate/validator/internal/constraintvalidators/FutureValidatorForReadableInstant.java
@@ -27,7 +27,7 @@
* {@code import org.joda.time.ReadableInstant}
* is in the future.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class FutureValidatorForReadableInstant implements ConstraintValidator<Future, ReadableInstant> {
View
2  ...c/main/java/org/hibernate/validator/internal/constraintvalidators/FutureValidatorForReadablePartial.java
@@ -27,7 +27,7 @@
* {@code org.joda.time.ReadablePartial}
* is in the future.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class FutureValidatorForReadablePartial implements ConstraintValidator<Future, ReadablePartial> {
View
2  engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/MaxValidatorForCharSequence.java
@@ -26,7 +26,7 @@
* less than or equal to the maximum value specified.
*
* @author Alaa Nassef
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class MaxValidatorForCharSequence implements ConstraintValidator<Max, CharSequence> {
View
2  engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/MinValidatorForCharSequence.java
@@ -26,7 +26,7 @@
* more than or equal to the minimum value specified.
*
* @author Alaa Nassef
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class MinValidatorForCharSequence implements ConstraintValidator<Min, CharSequence> {
View
2  ...src/main/java/org/hibernate/validator/internal/constraintvalidators/PastValidatorForReadableInstant.java
@@ -27,7 +27,7 @@
* {@code org.joda.time.ReadableInstant}
* is in the past.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class PastValidatorForReadableInstant implements ConstraintValidator<Past, ReadableInstant> {
View
2  ...src/main/java/org/hibernate/validator/internal/constraintvalidators/PastValidatorForReadablePartial.java
@@ -27,7 +27,7 @@
* {@code org.joda.time.ReadablePartial}
* is in the past.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class PastValidatorForReadablePartial implements ConstraintValidator<Past, ReadablePartial> {
View
2  engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/ScriptAssertValidator.java
@@ -29,7 +29,7 @@
*
* @author Gunnar Morling
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class ScriptAssertValidator implements ConstraintValidator<ScriptAssert, Object> {
View
2  engine/src/main/java/org/hibernate/validator/internal/engine/ConfigurationImpl.java
@@ -58,7 +58,7 @@
* @author Emmanuel Bernard
* @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 class ConfigurationImpl implements HibernateValidatorConfiguration, ConfigurationState {
View
2  engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorContextImpl.java
@@ -30,7 +30,7 @@
/**
* @author Emmanuel Bernard
* @author Hardy Ferentschik
- * @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 class ValidatorContextImpl implements HibernateValidatorContext {
View
2  engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorFactoryImpl.java
@@ -56,7 +56,7 @@
* @author Emmanuel Bernard
* @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 class ValidatorFactoryImpl implements HibernateValidatorFactory {
View
2  engine/src/main/java/org/hibernate/validator/internal/engine/ValidatorImpl.java
@@ -79,7 +79,7 @@
* @author Emmanuel Bernard
* @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 class ValidatorImpl implements Validator, ExecutableValidator {
View
2  engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintTree.java
@@ -44,7 +44,7 @@
* @author Hardy Ferentschik
* @author Federico Mancini
* @author Dag Hovland
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2012 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2012 SERLI
*/
public class ConstraintTree<A extends Annotation> {
private static final Log log = LoggerFactory.make();
View
6 ...c/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintValidatorManager.java
@@ -64,6 +64,8 @@
/**
* Creates a new {@code ConstraintValidatorManager}.
+ *
+ * @param constraintValidatorFactory the validator factory
*/
public ConstraintValidatorManager(ConstraintValidatorFactory constraintValidatorFactory) {
this.defaultConstraintValidatorFactory = constraintValidatorFactory;
@@ -74,8 +76,10 @@ public ConstraintValidatorManager(ConstraintValidatorFactory constraintValidator
* @param validatedValueType the type of the value to be validated. Cannot be {@code null}
* @param descriptor the constraint descriptor for which to get an initalized constraint validator. Cannot be {@code null}
* @param constraintFactory constraint factory used to instantiate the constraint validator. Cannot be {@code null}.
+ * @param <V> the type of the value to be validated
+ * @param <A> the annotation type
*
- * @return A initialized constraint validator for the given type and annotation of the value to be validated.
+ * @return an initialized constraint validator for the given type and annotation of the value to be validated.
*/
public <V, A extends Annotation> ConstraintValidator<A, V> getInitializedValidator(Type validatedValueType,
ConstraintDescriptorImpl<A> descriptor,
View
2  engine/src/main/java/org/hibernate/validator/internal/engine/groups/ValidationOrderGenerator.java
@@ -32,7 +32,7 @@
* Helper class used to order groups and sequences into the right order for validation.
*
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class ValidationOrderGenerator {
View
2  engine/src/main/java/org/hibernate/validator/internal/engine/path/PathImpl.java
@@ -39,7 +39,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 final class PathImpl implements Path, Serializable {
private static final long serialVersionUID = 7564511574909882392L;
View
2  engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/BeanMetaDataImpl.java
@@ -64,7 +64,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 final class BeanMetaDataImpl<T> implements BeanMetaData<T> {
View
3  engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/ExecutableMetaData.java
@@ -262,7 +262,7 @@ public boolean equals(Object obj) {
* Creates new {@link ExecutableMetaData} instances.
*
* @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 static class Builder extends MetaDataBuilder {
@@ -305,6 +305,7 @@ public boolean equals(Object obj) {
* executable with a given signature within a type hierarchy.
* @param constraintHelper the constraint helper
* @param executableHelper the executable helper
+ * @param beanClass the bean class
*/
public Builder(Class<?> beanClass, ConstrainedExecutable constrainedExecutable, ConstraintHelper constraintHelper, ExecutableHelper executableHelper) {
super( beanClass, constraintHelper );
View
16 engine/src/main/java/org/hibernate/validator/internal/metadata/aggregated/rule/MethodConfigurationRule.java
@@ -42,6 +42,10 @@
/**
* Whether {@code otherClazz} is a strict subtype of {@code clazz} or not.
+ * @param clazz the super type to check against
+ * @param otherClazz the subtype to check
+ *
+ * @return {@code true} if {@code otherClazz} is a strict subtype of {@code clazz}, {@code false} otherwise
*/
protected boolean isStrictSubType(Class<?> clazz, Class<?> otherClazz) {
return clazz.isAssignableFrom( otherClazz ) && !clazz.equals( otherClazz );
@@ -50,6 +54,12 @@ protected boolean isStrictSubType(Class<?> clazz, Class<?> otherClazz) {
/**
* Whether {@code otherExecutable} is defined on a subtype of the declaring
* type of {@code executable} or not.
+ *
+ * @param executable the executable to check against
+ * @param otherExecutable the executable to check
+ *
+ * @return {@code true} if {@code otherExecutable} is defined on a subtype of the declaring type of
+ * {@code otherExecutable}, {@code false} otherwise
*/
protected boolean isDefinedOnSubType(ConstrainedExecutable executable, ConstrainedExecutable otherExecutable) {
Class<?> clazz = executable.getLocation().getDeclaringClass();
@@ -61,6 +71,12 @@ protected boolean isDefinedOnSubType(ConstrainedExecutable executable, Constrain
/**
* Whether {@code otherExecutable} is defined on a parallel of the declaring
* type of {@code executable} or not.
+ *
+ * @param executable the executable to check against
+ * @param otherExecutable the executable to check
+ *
+ * @return {@code true} if {@code otherExecutable} is defined on a parallel of the declaring type of
+ * {@code otherExecutable}, {@code false} otherwise
*/
protected boolean isDefinedOnParallelType(ConstrainedExecutable executable, ConstrainedExecutable otherExecutable) {
Class<?> clazz = executable.getLocation().getDeclaringClass();
View
4 engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
@@ -286,6 +286,7 @@ private boolean isBuiltinConstraint(Class<? extends Annotation> annotationType)
* The result is cached internally.
*
* @param annotationType The constraint annotation type.
+ * @param <A> the type of the annotation
*
* @return The validator classes for the given type.
*/
@@ -316,6 +317,7 @@ private boolean isBuiltinConstraint(Class<? extends Annotation> annotationType)
*
* @param annotationType The annotation of interest.
* @param validationTarget The target, either annotated element or parameters.
+ * @param <A> the type of the annotation
*
* @return A list with matching validator classes.
*/
@@ -352,6 +354,7 @@ private boolean supportsValidationTarget(Class<? extends ConstraintValidator<?,
* @param annotationType The constraint annotation type
* @param definitionClasses The validators to register
* @param keepDefaultClasses Whether any default validators should be kept or not
+ * @param <A> the type of the annotation
*/
public <A extends Annotation> void putValidatorClasses(Class<A> annotationType,
List<Class<? extends ConstraintValidator<A, ?>>> definitionClasses,
@@ -402,6 +405,7 @@ public boolean isMultiValueConstraint(Class<? extends Annotation> annotationType
* actually is a multi-value constraint.
*
* @param multiValueConstraint the multi-value constraint annotation from which to retrieve the contained constraints
+ * @param <A> the type of the annotation
*
* @return A list of constraint annotations, may be empty but never {@code null}.
*/
View
1  engine/src/main/java/org/hibernate/validator/internal/metadata/provider/MetaDataProvider.java
@@ -49,6 +49,7 @@
* specified type.
*
* @param beanClass The type of interest.
+ * @param <T> The type of the class to get the configurations for.
*
* @return A set with the configurations for the complete hierarchy of the
* given type. May be empty, but never {@code null}.
View
1  engine/src/main/java/org/hibernate/validator/internal/metadata/provider/XmlMetaDataProvider.java
@@ -40,6 +40,7 @@
/**
* @param constraintHelper the constraint helper
+ * @param parameterNameProvider the name provider
* @param mappingStreams the input stream for the xml configuration
*/
public XmlMetaDataProvider(ConstraintHelper constraintHelper,
View
3  engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedExecutable.java
@@ -66,6 +66,8 @@
* @param groupConversions The group conversions of the represented executable, if any.
* @param isCascading Whether a cascaded validation of the represented executable's
* return value shall be performed or not.
+ * @param requiresUnwrapping Whether the value of the executable's return value must be unwrapped prior to
+ * validation or not
*/
public ConstrainedExecutable(
ConfigurationSource source,
@@ -95,6 +97,7 @@ public ConstrainedExecutable(
* with the number of parameters of the represented executable. So
* this list may be empty (in case of a parameterless executable),
* but never {@code null}.
+ * @param crossParameterConstraints the cross parameter constraints
* @param returnValueConstraints The return value constraints of the represented executable, if
* any.
* @param groupConversions The group conversions of the represented executable, if any.
View
2  engine/src/main/java/org/hibernate/validator/internal/metadata/raw/ConstrainedParameter.java
@@ -61,6 +61,8 @@ public ConstrainedParameter(ConfigurationSource source,
*
* @param source The source of meta data.
* @param location The location of the represented method parameter.
+ * @param type the parameter type
+ * @param index the index of the parameter
* @param name The name of the represented parameter.
* @param constraints The constraints of the represented method parameter, if
* any.
View
2  engine/src/main/java/org/hibernate/validator/internal/util/CollectionHelper.java
@@ -31,7 +31,7 @@
* Provides some methods for simplified collection instantiation.
*
* @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 final class CollectionHelper {
View
5 engine/src/main/java/org/hibernate/validator/internal/util/ConcurrentReferenceHashMap.java
@@ -1673,6 +1673,8 @@ public void clear() {
* the key (Object) and value (Object)
* for each key-value mapping, followed by a null pair.
* The key-value mappings are emitted in no particular order.
+ *
+ * @throws IOException if an I/O error occurs
*/
private void writeObject(java.io.ObjectOutputStream s) throws IOException {
s.defaultWriteObject();
@@ -1704,6 +1706,9 @@ private void writeObject(java.io.ObjectOutputStream s) throws IOException {
* Reconstitute the <tt>ConcurrentReferenceHashMap</tt> instance from a
* stream (i.e., deserialize it).
* @param s the stream
+ *
+ * @throws IOException if an I/O error occurs
+ * @throws ClassNotFoundException if the class of a serialized object could not be found
*/
@SuppressWarnings("unchecked")
private void readObject(java.io.ObjectInputStream s)
View
2  engine/src/main/java/org/hibernate/validator/internal/util/Contracts.java
@@ -24,7 +24,7 @@
/**
* @author Gunnar Morling
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2012 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2012 SERLI
*/
public final class Contracts {
View
3  engine/src/main/java/org/hibernate/validator/internal/util/ExecutableHelper.java
@@ -35,7 +35,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 final class ExecutableHelper {
@@ -48,6 +48,7 @@ public ExecutableHelper(TypeResolutionHelper typeResolutionHelper) {
/**
* Checks, whether the represented method overrides the given method.
*
+ * @param executableElement the method to test against
* @param other The method to test.
*
* @return {@code true} If this methods overrides the passed method,
View
7 engine/src/main/java/org/hibernate/validator/internal/util/ReflectionHelper.java
@@ -63,7 +63,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 final class ReflectionHelper {
@@ -212,7 +212,7 @@ private static boolean isQualifiedClass(String clazz) {
/**
* Returns the JavaBeans property name of the given member.
- * </p>
+ * <p>
* For fields, the field name will be returned. For getter methods, the
* decapitalized property name will be returned, with the "get", "is" or "has"
* prefix stripped off. Getter methods are methods
@@ -496,7 +496,7 @@ public static boolean isList(Type type) {
/**
* Tries to retrieve the indexed value from the specified object.
*
- * @param value The object from which to retrieve the indexed value. The object has to be non <code>null</null> and
+ * @param value The object from which to retrieve the indexed value. The object has to be non <code>null</code> and
* either a collection or array.
* @param index The index. The index does not have to be numerical. <code>value</code> could also be a map in which
* case the index could also be a string key.
@@ -654,6 +654,7 @@ public static Method getDeclaredMethod(Class<?> clazz, String methodName, Class<
*
* @param clazz The class to check.
* @param params The constructor parameter types.
+ * @param <T> The type of class to get the constructor for.
*
* @return Returns the declared constructor with the specified name or {@code null} if it does not exist.
*/
View
2  engine/src/main/java/org/hibernate/validator/internal/util/TypeHelper.java
@@ -289,6 +289,8 @@ private static Type getResolvedSuperclass(Type type) {
/**
* @param validators List of constraint validator classes (for a given constraint).
+ * @param annotationType The annotation type.
+ * @param <A> the type of the annotation
*
* @return Return a Map&lt;Class, Class&lt;? extends ConstraintValidator&gt;&gt; where the map
* key is the type the validator accepts and value the validator class itself.
View
2  engine/src/main/java/org/hibernate/validator/internal/util/Version.java
@@ -20,7 +20,7 @@
/**
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2012 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2012 SERLI
*/
public final class Version {
static {
View
4 engine/src/main/java/org/hibernate/validator/internal/util/annotationfactory/AnnotationProxy.java
@@ -38,7 +38,7 @@
/**
* A concrete implementation of <code>Annotation</code> that pretends it is a
* "real" source code annotation. It's also an <code>InvocationHandler</code>.
- * <p/>
+ * <p>
* When you create an <code>AnnotationProxy</code>, you must initialize it
* with an <code>AnnotationDescriptor</code>.
* The adapter checks that the provided elements are the same elements defined
@@ -46,7 +46,7 @@
* values are the right type. If you omit an element, the adapter will use the
* default value for that element from the annotation interface, if it exists.
* If no default exists, it will throw an exception.
- * <p/>
+ * </p>
*
* @author Paolo Perrotta
* @author Davide Marchignoli
View
2  engine/src/main/java/org/hibernate/validator/internal/util/classhierarchy/ClassHierarchyHelper.java
@@ -46,6 +46,7 @@
*
* @param clazz the class for which to retrieve the hierarchy
* @param filters filters applying for the search
+ * @param <T> the type of the class
*
* @return List of hierarchy classes. Will only contain those types matching
* the given filters. The list contains the given class itself, if
@@ -107,6 +108,7 @@ private static boolean acceptedByAllFilters(Class<?> clazz, Iterable<Filter> fil
* are not contained.
*
* @param clazz the class for which to retrieve the implemented interfaces
+ * @param <T> the type of the class
*
* @return Set of all interfaces implemented by the class represented by
* this hierarchy. The empty list is returned if it does not
View
4 engine/src/main/java/org/hibernate/validator/internal/util/logging/Log.java
@@ -53,12 +53,12 @@
/**
* The logger interface for JBoss Logging.
* <p>
- * <b>Note</b>:<br/>
+ * <b>Note</b>:<br>
* New log messages must always use a new (incremented) message id. Don't re-use of existing message ids, even
* if a given log method is not used anymore. Unused messages can be deleted.
* </p>
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2012 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2012 SERLI
*/
@SuppressWarnings("deprecation")
@MessageLogger(projectCode = "HV")
View
2  engine/src/main/java/org/hibernate/validator/internal/util/logging/LoggerFactory.java
@@ -20,7 +20,7 @@
/**
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2012 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2012 SERLI
*/
public final class LoggerFactory {
public static Log make() {
View
2  engine/src/main/java/org/hibernate/validator/internal/util/privilegedactions/GetDeclaredMethod.java
@@ -20,7 +20,7 @@
import java.security.PrivilegedAction;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public final class GetDeclaredMethod implements PrivilegedAction<Method> {
private final Class<?> clazz;
View
2  engine/src/main/java/org/hibernate/validator/internal/util/privilegedactions/LoadClass.java
@@ -24,7 +24,7 @@
/**
* @author Emmanuel Bernard
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public final class LoadClass implements PrivilegedAction<Class<?>> {
View
2  engine/src/main/java/org/hibernate/validator/internal/util/scriptengine/ScriptEvaluator.java
@@ -25,7 +25,7 @@
* A wrapper around JSR 223 {@link ScriptEngine}s. This class is thread-safe.
*
* @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 ScriptEvaluator {
View
2  engine/src/main/java/org/hibernate/validator/internal/util/scriptengine/ScriptEvaluatorFactory.java
@@ -32,7 +32,7 @@
* class is thread-safe.
*
* @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 ScriptEvaluatorFactory {
View
2  engine/src/main/java/org/hibernate/validator/messageinterpolation/ResourceBundleMessageInterpolator.java
@@ -45,7 +45,7 @@
* @author Emmanuel Bernard
* @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 class ResourceBundleMessageInterpolator implements MessageInterpolator {
private static final Log log = LoggerFactory.make();
View
4 engine/src/main/java/org/hibernate/validator/resourceloading/AggregateResourceBundleLocator.java
@@ -100,9 +100,9 @@ public ResourceBundle getResourceBundle(Locale locale) {
/**
* A {@link ResourceBundle} whose content is aggregated from multiple source bundles.
- * <p/>
+ * <p>
* This class is package-private for the sake of testability.
- *
+ * </p>
* @author Gunnar Morling
*/
public static class AggregateBundle extends ResourceBundle {
View
2  engine/src/main/java/org/hibernate/validator/resourceloading/CachingResourceBundleLocator.java
@@ -28,7 +28,7 @@
* locator and caches values retrieved from that locator.
*
* @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 CachingResourceBundleLocator extends DelegatingResourceBundleLocator {
View
2  engine/src/main/java/org/hibernate/validator/spi/group/DefaultGroupSequenceProvider.java
@@ -38,7 +38,7 @@
*
* @param <T> The type for which an implementation is defined.
*
- * @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 DefaultGroupSequenceProvider<T> {
View
2  engine/src/main/java/org/hibernate/validator/spi/valuehandling/ValidatedValueUnwrapper.java
@@ -30,7 +30,7 @@
* @param <T> the type which can be unwrapped by a specific implementation. The value for this type parameter must
* either resolve to a non-parameterized type (i.e. because the type is not using generics or because the raw
* type is used instead of the generic version) or all of its own type parameters must be unbounded
- * wildcard types (i.e. <?>).
+ * wildcard types (i.e. &lt;?&gt;).
*
* @author Gunnar Morling
* @hv.experimental This SPI is considered experimental and may change in future revisions
View
2  engine/src/test/java/org/hibernate/validator/test/cfg/ConstraintMappingTest.java
@@ -72,7 +72,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 class ConstraintMappingTest {
private HibernateValidatorConfiguration config;
View
2  engine/src/test/java/org/hibernate/validator/test/cfg/MethodConstraintMappingTest.java
@@ -50,7 +50,7 @@
/**
* Tests the definition of method constraints with the programmatic API.
*
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class MethodConstraintMappingTest {
private HibernateValidatorConfiguration config;
View
2  ...va/org/hibernate/validator/test/internal/constraintvalidators/FutureValidatorForReadableInstantTest.java
@@ -27,7 +27,7 @@
import org.hibernate.validator.internal.constraintvalidators.FutureValidatorForReadableInstant;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class FutureValidatorForReadableInstantTest {
View
2  ...va/org/hibernate/validator/test/internal/constraintvalidators/FutureValidatorForReadablePartialTest.java
@@ -26,7 +26,7 @@
import org.testng.annotations.Test;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class FutureValidatorForReadablePartialTest {
View
2  ...java/org/hibernate/validator/test/internal/constraintvalidators/PastValidatorForReadableInstantTest.java
@@ -27,7 +27,7 @@
import org.hibernate.validator.internal.constraintvalidators.PastValidatorForReadableInstant;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class PastValidatorForReadableInstantTest {
View
2  ...java/org/hibernate/validator/test/internal/constraintvalidators/PastValidatorForReadablePartialTest.java
@@ -26,7 +26,7 @@
import org.hibernate.validator.internal.constraintvalidators.PastValidatorForReadablePartial;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class PastValidatorForReadablePartialTest {
View
2  engine/src/test/java/org/hibernate/validator/test/internal/engine/ValidatorTest.java
@@ -49,7 +49,7 @@
/**
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class ValidatorTest {
@Test
View
2  engine/src/test/java/org/hibernate/validator/test/internal/engine/failfast/FailFastTest.java
@@ -59,7 +59,7 @@
* Tests for fail fast mode
*
* @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
* @author Hardy Ferentschik
*/
public class FailFastTest {
View
2  ...validator/test/internal/engine/groups/defaultgroupsequenceprovider/DefaultGroupSequenceProviderTest.java
@@ -38,7 +38,7 @@
import static org.hibernate.validator.testutil.ValidatorUtil.getValidator;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class DefaultGroupSequenceProviderTest {
View
2  ...ate/validator/test/internal/engine/groups/defaultgroupsequenceprovider/DynamicGroupSequenceProvider.java
@@ -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 DynamicGroupSequenceProvider implements DefaultGroupSequenceProvider<User> {
View
2  ...t/java/org/hibernate/validator/test/internal/engine/groups/defaultgroupsequenceprovider/StrongCheck.java
@@ -17,7 +17,7 @@
package org.hibernate.validator.test.internal.engine.groups.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 StrongCheck {
View
2  ...src/test/java/org/hibernate/validator/test/internal/engine/groups/defaultgroupsequenceprovider/User.java
@@ -22,7 +22,7 @@
import org.hibernate.validator.constraints.Length;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
@GroupSequenceProvider(DynamicGroupSequenceProvider.class)
public class User {
View
2  engine/src/test/java/org/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/Car.java
@@ -30,7 +30,7 @@
*
* @author Gunnar Morling
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class Car {
View
2  ...g/hibernate/validator/test/internal/engine/groups/redefiningdefaultgroup/RedefiningDefaultGroupTest.java
@@ -34,7 +34,7 @@
/**
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class RedefiningDefaultGroupTest {
View
2  ...est/java/org/hibernate/validator/test/internal/engine/messageinterpolation/MessageInterpolationTest.java
@@ -49,7 +49,7 @@
/**
* @author Hardy Ferentschik
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class MessageInterpolationTest {
private Validator validator;
View
2  engine/src/test/java/org/hibernate/validator/test/internal/engine/path/PathImplTest.java
@@ -46,7 +46,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 class PathImplTest {
View
2  engine/src/test/java/org/hibernate/validator/testutil/ConstraintViolationAssert.java
@@ -43,7 +43,7 @@
* This class provides useful functions to assert correctness of constraint violations raised
* during tests.
*
- * @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
* @author Gunnar Morling
*/
View
2  engine/src/test/java/org/hibernate/validator/testutil/CountValidationCalls.java
@@ -26,7 +26,7 @@
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
@Target( { METHOD, FIELD })
@Retention(RUNTIME)
View
2  engine/src/test/java/org/hibernate/validator/testutil/CountValidationCallsValidator.java
@@ -20,7 +20,7 @@
import javax.validation.ConstraintValidatorContext;
/**
- * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
+ * @author Kevin Pollet &lt;kevin.pollet@serli.com&gt; (C) 2011 SERLI
*/
public class CountValidationCallsValidator implements ConstraintValidator<CountValidationCalls, Object> {
private static final ThreadLocal<Integer> NUMBER_OF_VALIDATION_CALLS = new ThreadLocal<Integer>() {
View
2  engine/src/test/java/org/hibernate/validator/testutil/ValidatorUtil.java
@@ -40,7 +40,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 final class ValidatorUtil {
View
2  pom.xml
@@ -266,7 +266,7 @@
<configuration>
<rules>
<requireJavaVersion>
- <version>[1.7,)</version>
+ <version>[1.8,)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>3.0.3</version>
Please sign in to comment.
Something went wrong with that request. Please try again.