Rename JSR 303 Validator bean name

Closes gh-8481
pull/8516/head
Stephane Nicoll 8 years ago
parent bb8800a625
commit d74af04724

@ -46,7 +46,7 @@ public class ValidationAutoConfiguration {
@Bean
@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
@ConditionalOnMissingBean
public static Validator validator() {
public static Validator jsr303Validator() {
LocalValidatorFactoryBean factoryBean = new LocalValidatorFactoryBean();
MessageInterpolatorFactory interpolatorFactory = new MessageInterpolatorFactory();
factoryBean.setMessageInterpolator(interpolatorFactory.getObject());

Loading…
Cancel
Save