HHH-13496 Remove redundant logger level check

This commit is contained in:
Sanne Grinovero 2019-07-03 11:14:12 +01:00
parent 0776ce1154
commit 6a4ede4ec2
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ public class ResourceRegistryStandardImpl implements ResourceRegistry {
// Keep this at DEBUG level, rather than warn. Numerous connection pool implementations can return a
// proxy/wrapper around the JDBC Statement, causing excessive logging here. See HHH-8210.
if ( log.isDebugEnabled() && resultSets == null ) {
if ( resultSets == null ) {
log.debug( "ResultSet statement was not registered (on register)" );
}