HHH-13576 Invoking tracef() or debugf() w/o an array of parameters actually allocates an empty Object[]

This commit is contained in:
Sanne Grinovero 2019-08-14 11:04:47 +01:00
parent 35037dac7b
commit 7746227115
1 changed files with 2 additions and 2 deletions

View File

@ -1109,7 +1109,7 @@ public final class SessionImpl
boolean clearedEffectiveGraph = false;
if ( semantic != null ) {
if ( ! graph.appliesTo( entityName ) ) {
log.debugf( "Clearing effective entity graph for subsequent-select" );
log.debug( "Clearing effective entity graph for subsequent-select" );
clearedEffectiveGraph = true;
effectiveEntityGraph.clear();
}
@ -2512,7 +2512,7 @@ public final class SessionImpl
@Override
public void beforeTransactionCompletion() {
log.tracef( "SessionImpl#beforeTransactionCompletion()" );
log.trace( "SessionImpl#beforeTransactionCompletion()" );
flushBeforeTransactionCompletion();
actionQueue.beforeTransactionCompletion();
try {