removed optional javax.validation.spi dependency (SPR-8973)
This commit is contained in:
parent
95e3f486b5
commit
9a61f36d3d
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2010 the original author or authors.
|
* Copyright 2002-2012 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -28,7 +28,6 @@ import javax.validation.Validation;
|
||||||
import javax.validation.Validator;
|
import javax.validation.Validator;
|
||||||
import javax.validation.ValidatorContext;
|
import javax.validation.ValidatorContext;
|
||||||
import javax.validation.ValidatorFactory;
|
import javax.validation.ValidatorFactory;
|
||||||
import javax.validation.spi.ValidationProvider;
|
|
||||||
|
|
||||||
import org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator;
|
import org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator;
|
||||||
|
|
||||||
|
@ -87,7 +86,7 @@ public class LocalValidatorFactoryBean extends SpringValidatorAdapter
|
||||||
* @see javax.validation.Validation#byDefaultProvider()
|
* @see javax.validation.Validation#byDefaultProvider()
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
public void setProviderClass(Class<? extends ValidationProvider> providerClass) {
|
public void setProviderClass(Class providerClass) {
|
||||||
this.providerClass = providerClass;
|
this.providerClass = providerClass;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue