HHH-13897 ResultSetProcessingContextImpl: no need to clear collections before discarding the reference to them

This commit is contained in:
Sanne Grinovero 2020-03-18 16:06:15 +00:00
parent 8c6f8025e3
commit 486addab0c
1 changed files with 0 additions and 2 deletions

View File

@ -322,12 +322,10 @@ public class ResultSetProcessingContextImpl implements ResultSetProcessingContex
createSubselects();
if ( hydratedEntityRegistrationList != null ) {
hydratedEntityRegistrationList.clear();
hydratedEntityRegistrationList = null;
}
if ( subselectLoadableEntityKeyMap != null ) {
subselectLoadableEntityKeyMap.clear();
subselectLoadableEntityKeyMap = null;
}
}