HHH-17061 Remove PersistentClass#getTableClosureIterator
This commit is contained in:
parent
e5b0e71dfa
commit
d9e70896cd
|
@ -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
|
||||
|
|
|
@ -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() );
|
||||
|
|
|
@ -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<>(
|
||||
|
|
Loading…
Reference in New Issue