removed optional javax.validation.spi dependency (SPR-8973)

This commit is contained in:
Juergen Hoeller 2012-02-08 12:52:51 +01:00
parent 95e3f486b5
commit 9a61f36d3d
1 changed files with 2 additions and 3 deletions

View File

@ -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;
} }