[hibernate-issues] [Hibernate-JIRA] Created: (HV-158) ClassCastException in org.hibernate.validation.constraints.FutureValidatorForDate.initialize

Denis Karpov (JIRA) noreply at atlassian.com
Tue May 5 04:08:17 EDT 2009


ClassCastException in org.hibernate.validation.constraints.FutureValidatorForDate.initialize
--------------------------------------------------------------------------------------------

                 Key: HV-158
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-158
             Project: Hibernate Validator
          Issue Type: Bug
          Components: engine
    Affects Versions: 4.0.0.Beta1, 4.0.0.Alpha3
            Reporter: Denis Karpov


public class FutureValidatorForDate implements ConstraintValidator<Past, Date> {
public void initialize(Past constraintAnnotation) {}
...
"Past" probably should be "Future".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list