HHH-14650 AbstractRowReader: remove unnecessary nullchecks

This commit is contained in:
Sanne Grinovero 2021-06-03 10:12:26 +01:00
parent fb69172a4b
commit 84e7c5f63b
1 changed files with 4 additions and 8 deletions

View File

@ -97,15 +97,11 @@ public abstract class AbstractRowReader implements RowReader {
entityReferenceInitializer.finishUpRow( resultSet, context );
}
}
if ( collectionReferenceInitializers != null ) {
for ( CollectionReferenceInitializer collectionReferenceInitializer : collectionReferenceInitializers ) {
collectionReferenceInitializer.finishUpRow( resultSet, context );
}
for ( CollectionReferenceInitializer collectionReferenceInitializer : collectionReferenceInitializers ) {
collectionReferenceInitializer.finishUpRow( resultSet, context );
}
if ( arrayReferenceInitializers != null ) {
for ( CollectionReferenceInitializer arrayReferenceInitializer : arrayReferenceInitializers ) {
arrayReferenceInitializer.finishUpRow( resultSet, context );
}
for ( CollectionReferenceInitializer arrayReferenceInitializer : arrayReferenceInitializers ) {
arrayReferenceInitializer.finishUpRow( resultSet, context );
}
return logicalRow;