Skip to content

Commit

Permalink
Make sure the ConstraintValidatorFactory states that new instances ar…
Browse files Browse the repository at this point in the history
…e to be returned
  • Loading branch information
emmanuelbernard committed Feb 16, 2013
1 parent 4392bde commit 54360e6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -30,7 +30,7 @@ public interface ConstraintValidatorFactory {
/**
* @param key The class of the constraint validator to instantiate.
*
* @return A constraint validator instance of the specified class.
* @return A new constraint validator instance of the specified class.
*/
<T extends ConstraintValidator<?, ?>> T getInstance(Class<T> key);

Expand Down

0 comments on commit 54360e6

Please sign in to comment.