Author: hardy.ferentschik
Date: 2009-06-18 13:17:16 -0400 (Thu, 18 Jun 2009)
New Revision: 16837
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/HibernateValidationProvider.java
Log:
cleanup
Modified:
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/HibernateValidationProvider.java
===================================================================
---
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/HibernateValidationProvider.java 2009-06-18
17:16:55 UTC (rev 16836)
+++
validator/trunk/hibernate-validator/src/main/java/org/hibernate/validation/HibernateValidationProvider.java 2009-06-18
17:17:16 UTC (rev 16837)
@@ -18,7 +18,6 @@
package org.hibernate.validation;
import javax.validation.Configuration;
-import javax.validation.ValidationException;
import javax.validation.ValidatorFactory;
import javax.validation.spi.BootstrapState;
import javax.validation.spi.ConfigurationState;
@@ -37,7 +36,6 @@
public class HibernateValidationProvider implements
ValidationProvider<HibernateValidatorConfiguration> {
public HibernateValidatorConfiguration createSpecializedConfiguration(BootstrapState
state) {
- //cast protected by isSuitable call
return HibernateValidatorConfiguration.class.cast( new ConfigurationImpl( this ) );
}