HHH-17061 Remove getSubclassClosureIterator

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

View File

@ -269,16 +269,6 @@ public abstract class PersistentClass implements IdentifiableTypeClass, Attribut
return new JoinedList<>( lists ); return new JoinedList<>( lists );
} }
@Deprecated(since = "6.0") @Remove
public Iterator<PersistentClass> getSubclassClosureIterator() {
final ArrayList<Iterator<PersistentClass>> iterators = new ArrayList<>();
iterators.add( new SingletonIterator<>( this ) );
for ( Subclass subclass : getSubclasses() ) {
iterators.add( subclass.getSubclassClosureIterator() );
}
return new JoinedIterator<>( iterators );
}
public Table getIdentityTable() { public Table getIdentityTable() {
return getRootTable(); return getRootTable();
} }