HHH-14773 JdbcCoordinatorImpl micro improvement: unguarded tracev parameters should be constant
This commit is contained in:
parent
c9b8776d3a
commit
2390416318
|
@ -252,8 +252,9 @@ public class JdbcCoordinatorImpl implements JdbcCoordinator {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterStatementExecution() {
|
public void afterStatementExecution() {
|
||||||
LOG.tracev( "Starting after statement execution processing [{0}]", getConnectionReleaseMode() );
|
final ConnectionReleaseMode connectionReleaseMode = getConnectionReleaseMode();
|
||||||
if ( getConnectionReleaseMode() == ConnectionReleaseMode.AFTER_STATEMENT ) {
|
LOG.tracev( "Starting after statement execution processing [{0}]", connectionReleaseMode );
|
||||||
|
if ( connectionReleaseMode == ConnectionReleaseMode.AFTER_STATEMENT ) {
|
||||||
if ( ! releasesEnabled ) {
|
if ( ! releasesEnabled ) {
|
||||||
LOG.debug( "Skipping aggressive release due to manual disabling" );
|
LOG.debug( "Skipping aggressive release due to manual disabling" );
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue