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 ); entityReferenceInitializer.finishUpRow( resultSet, context );
} }
} }
if ( collectionReferenceInitializers != null ) { for ( CollectionReferenceInitializer collectionReferenceInitializer : collectionReferenceInitializers ) {
for ( CollectionReferenceInitializer collectionReferenceInitializer : collectionReferenceInitializers ) { collectionReferenceInitializer.finishUpRow( resultSet, context );
collectionReferenceInitializer.finishUpRow( resultSet, context );
}
} }
if ( arrayReferenceInitializers != null ) { for ( CollectionReferenceInitializer arrayReferenceInitializer : arrayReferenceInitializers ) {
for ( CollectionReferenceInitializer arrayReferenceInitializer : arrayReferenceInitializers ) { arrayReferenceInitializer.finishUpRow( resultSet, context );
arrayReferenceInitializer.finishUpRow( resultSet, context );
}
} }
return logicalRow; return logicalRow;