HHH-12289 - One call of the SessionImpl#listeners( ) method from SessionImpl#autoFlushIfRequired() is useless.

This commit is contained in:
Andrea Boriero 2018-02-13 13:53:58 +00:00
parent 99b7f7e9b8
commit 848217146c
1 changed files with 0 additions and 1 deletions

View File

@ -1393,7 +1393,6 @@ public final class SessionImpl
return false;
}
AutoFlushEvent event = new AutoFlushEvent( querySpaces, this );
listeners( EventType.AUTO_FLUSH );
for ( AutoFlushEventListener listener : listeners( EventType.AUTO_FLUSH ) ) {
listener.onAutoFlush( event );
}