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 0ba1c4a2f3
commit d54b2688ea
1 changed files with 0 additions and 1 deletions

View File

@ -1396,7 +1396,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 );
}