HHH-17061 Remove PersistentClass#getSubclassPropertyClosureIterator

This commit is contained in:
Sanne Grinovero 2023-08-09 12:08:10 +02:00 committed by Sanne Grinovero
parent ab77c82b8a
commit e2ca0b74ee
1 changed files with 0 additions and 11 deletions

View File

@ -407,17 +407,6 @@ public abstract class PersistentClass implements IdentifiableTypeClass, Attribut
subclassTables.add( subclassTable );
}
@Deprecated(since = "6.0") @Remove
public Iterator<Property> getSubclassPropertyClosureIterator() {
final ArrayList<Iterator<Property>> iters = new ArrayList<>();
iters.add( getPropertyClosureIterator() );
iters.add( subclassProperties.iterator() );
for (Join join : subclassJoins) {
iters.add( join.getPropertyIterator() );
}
return new JoinedIterator<>( iters );
}
public List<Property> getSubclassPropertyClosure() {
final ArrayList<List<Property>> lists = new ArrayList<>();
lists.add( getPropertyClosure() );