HHH-5789 Hibernate 3.5.4 doesn't build with OpenJDK 6b18-1.8.2 or greater
This commit is contained in:
parent
8ee4156a1a
commit
77baa2aa64
|
@ -194,10 +194,10 @@ public abstract class AbstractPathImpl<X>
|
|||
if ( attribute.isCollection() ) {
|
||||
final PluralAttribute<X,Y,?> pluralAttribute = (PluralAttribute<X,Y,?>) attribute;
|
||||
if ( PluralAttribute.CollectionType.MAP.equals( pluralAttribute.getCollectionType() ) ) {
|
||||
return (PluralAttributePath<Y>) get( (MapAttribute<X,?,?>) pluralAttribute );
|
||||
return (PluralAttributePath<Y>) this.get( (MapAttribute<X,?,?>) pluralAttribute );
|
||||
}
|
||||
else {
|
||||
return (PluralAttributePath<Y>) get( (PluralAttribute) pluralAttribute );
|
||||
return (PluralAttributePath<Y>) this.get( (PluralAttribute) pluralAttribute );
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue