Re: [hibernate-dev] GenericConstraintDef extends raw ConstraintDef

2010-10-11 Thread Hardy Ferentschik
Hi, I recommend you create an issue on Jira - http://opensource.atlassian.com/projects/hibernate/browse/HV Defining GenericConstraintDef as you suggest is of course correct. The reason for not using generics was to avoid IDE warnings like "Unchecked call to 'constraintType(Class) ..." I do

[hibernate-dev] GenericConstraintDef extends raw ConstraintDef

2010-10-10 Thread Dag Hovland
Hi! We were wondering why org.hibernate.validator.cfg.defs.GenericConstraintDef extends the raw type ConstraintDef ? Using maven, it compiles, but in Eclipse (with jdk-1.6) We get the following error: "Name clash: The method groups(Class...) of type GenericConstraintDef has the same erasure a