Skip to content

Commit

Permalink
validation - Updated name for default Validator (from "validator" to …
Browse files Browse the repository at this point in the history
…"hibernate.validator") [BREAKING]
  • Loading branch information
fcamblor committed Dec 22, 2014
1 parent 6989675 commit 91891fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
@Module
public class ValidatorFactory {
public static final String VALIDATOR_NAME = "validator";
public static final String VALIDATOR_NAME = "hibernate.validator";
public static final Name<Validator> VALIDATOR = Name.of(Validator.class, VALIDATOR_NAME);

@Provides @Named(VALIDATOR_NAME)
Expand Down

0 comments on commit 91891fe

Please sign in to comment.