Permalink
Browse files

validation - Updated name for default Validator (from "validator" to …

…"hibernate.validator") [BREAKING]
  • Loading branch information...
fcamblor committed Dec 22, 2014
1 parent 6989675 commit 91891fe810bd5c4b2a8bdb5b531b5756caa65f66
Showing with 1 addition and 1 deletion.
  1. +1 −1 restx-validation/src/main/java/restx/validation/ValidatorFactory.java
@@ -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)

0 comments on commit 91891fe

Please sign in to comment.