HHH-13496 Move two instance fields to local fields in SessionImpl
This commit is contained in:
parent
6c44ef12e6
commit
dd7d798d77
|
@ -234,9 +234,6 @@ public final class SessionImpl
|
|||
private transient int dontFlushFromFind;
|
||||
|
||||
private transient ExceptionMapper exceptionMapper;
|
||||
private transient ManagedFlushChecker managedFlushChecker;
|
||||
|
||||
private transient AfterCompletionAction afterCompletionAction;
|
||||
|
||||
private transient LoadEvent loadEvent; //cached LoadEvent instance
|
||||
|
||||
|
@ -343,6 +340,8 @@ public final class SessionImpl
|
|||
|
||||
|
||||
private void initializeFromSessionOwner(SessionOwner sessionOwner) {
|
||||
ManagedFlushChecker managedFlushChecker;
|
||||
AfterCompletionAction afterCompletionAction;
|
||||
if ( sessionOwner != null ) {
|
||||
if ( sessionOwner.getExceptionMapper() != null ) {
|
||||
exceptionMapper = sessionOwner.getExceptionMapper();
|
||||
|
|
Loading…
Reference in New Issue