HHH-13897 ResultSetProcessingContextImpl: no need to clear collections before discarding the reference to them
This commit is contained in:
parent
8c6f8025e3
commit
486addab0c
|
@ -322,12 +322,10 @@ public class ResultSetProcessingContextImpl implements ResultSetProcessingContex
|
||||||
createSubselects();
|
createSubselects();
|
||||||
|
|
||||||
if ( hydratedEntityRegistrationList != null ) {
|
if ( hydratedEntityRegistrationList != null ) {
|
||||||
hydratedEntityRegistrationList.clear();
|
|
||||||
hydratedEntityRegistrationList = null;
|
hydratedEntityRegistrationList = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( subselectLoadableEntityKeyMap != null ) {
|
if ( subselectLoadableEntityKeyMap != null ) {
|
||||||
subselectLoadableEntityKeyMap.clear();
|
|
||||||
subselectLoadableEntityKeyMap = null;
|
subselectLoadableEntityKeyMap = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue