HHH-17061 Remove PersistentClass#getTableClosureIterator

This commit is contained in:
Sanne Grinovero 2023-08-09 12:15:52 +02:00 committed by Sanne Grinovero
parent e5b0e71dfa
commit d9e70896cd
3 changed files with 0 additions and 16 deletions

View File

@ -356,9 +356,6 @@ public abstract class PersistentClass implements IdentifiableTypeClass, Attribut
public abstract List<Table> getTableClosure();
@Deprecated(since = "6.0") @Remove
public abstract Iterator<Table> getTableClosureIterator();
public abstract List<KeyValue> getKeyClosure();
@Deprecated(since = "6.0") @Remove

View File

@ -136,11 +136,6 @@ public class RootClass extends PersistentClass implements TableOwner {
return getProperties();
}
@Override @Deprecated
public Iterator<Table> getTableClosureIterator() {
return new SingletonIterator<>( getTable() );
}
@Override
public List<Table> getTableClosure() {
return List.of( getTable() );

View File

@ -130,14 +130,6 @@ public class Subclass extends PersistentClass {
return new JoinedList<>( getSuperclass().getPropertyClosure(), getProperties() );
}
@Deprecated @Override
public Iterator<Table> getTableClosureIterator() {
return new JoinedIterator<>(
getSuperclass().getTableClosureIterator(),
new SingletonIterator<>( getTable() )
);
}
@Override
public List<Table> getTableClosure() {
return new JoinedList<>(