Skip to content

Commit 61ab5e8

Browse files
committed
Import cleanup
1 parent cddf9cb commit 61ab5e8

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

hibernate-validator/src/main/java/org/hibernate/validator/metadata/aggregated/MethodMetaData.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.util.List;
2323
import java.util.Set;
2424
import javax.validation.ConstraintDeclarationException;
25-
import javax.validation.Valid;
2625

2726
import org.hibernate.validator.metadata.core.ConstraintHelper;
2827
import org.hibernate.validator.metadata.core.MetaConstraint;
@@ -271,7 +270,7 @@ private ConstraintDeclarationException checkParameterConstraints() {
271270
/**
272271
* Returns a set with those methods from the given pile of methods that have
273272
* at least one constrained parameter or at least one parameter annotated
274-
* with {@link Valid}.
273+
* with {@link javax.validation.Valid}.
275274
*
276275
* @param methods The methods to search in.
277276
*

hibernate-validator/src/main/java/org/hibernate/validator/method/metadata/MethodDescriptor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package org.hibernate.validator.method.metadata;
1818

1919
import java.util.List;
20-
import javax.validation.Valid;
2120
import javax.validation.metadata.ElementDescriptor;
2221

2322
/**
@@ -52,7 +51,7 @@ public interface MethodDescriptor extends ElementDescriptor {
5251
/**
5352
* Whether a cascaded validation for this method's return value shall be
5453
* performed or not. This is the case if this method is marked for a
55-
* cascaded validation (e.g. by annotating it with the {@link Valid}
54+
* cascaded validation (e.g. by annotating it with the {@link javax.validation.Valid}
5655
* annotation) either locally or in the inheritance hierarchy.
5756
*
5857
* @return <code>True</code>, if this method's return value shall be

hibernate-validator/src/main/java/org/hibernate/validator/method/metadata/ParameterDescriptor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717
package org.hibernate.validator.method.metadata;
1818

19-
import javax.validation.Valid;
2019
import javax.validation.metadata.ElementDescriptor;
2120

2221
/**
@@ -29,7 +28,7 @@ public interface ParameterDescriptor extends ElementDescriptor {
2928
/**
3029
* Whether cascaded validation for this parameter shall be
3130
* performed or not. This is the case if this parameter is annotated with the
32-
* {@link Valid} annotation either locally or in the inheritance hierarchy.
31+
* {@link javax.validation.Valid} annotation either locally or in the inheritance hierarchy.
3332
*
3433
* @return <code>True</code>, if this parameter shall be
3534
* validated recursively, <code>false</code> otherwise.

hibernate-validator/src/main/java/org/hibernate/validator/method/metadata/TypeDescriptor.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package org.hibernate.validator.method.metadata;
1818

1919
import java.util.Set;
20-
import javax.validation.Valid;
2120
import javax.validation.metadata.BeanDescriptor;
2221
import javax.validation.metadata.ElementDescriptor;
2322

@@ -36,15 +35,15 @@ public interface TypeDescriptor extends ElementDescriptor {
3635
* <li>a constraint is hosted on any of this type's bean properties
3736
* (represented by fields or getter methods),</li>
3837
* <li>any of this type's bean properties (represented by fields or getter
39-
* methods) is marked for cascaded validation with the {@link Valid}
38+
* methods) is marked for cascaded validation with the {@link javax.validation.Valid}
4039
* annotation,</li>
4140
* <li>a constraint is hosted on any of this type's method's parameters,</li>
4241
* <li>any of this type's method's parameters is marked for cascaded
43-
* validation with the {@link Valid} annotation,</li>
42+
* validation with the {@link javax.validation.Valid} annotation,</li>
4443
* <li>a constraint is hosted on the return value of any of this type's
4544
* methods or</li>
4645
* <li>the return value of any of this type's methods is marked for cascaded
47-
* validation with the {@link Valid} annotation</li>
46+
* validation with the {@link javax.validation.Valid} annotation</li>
4847
* </ul>
4948
*
5049
* @return <code>True</code>, if this type has any constraints,

0 commit comments

Comments
 (0)