diff --git a/hibernate-core/src/main/java/org/hibernate/service/spi/ServiceBinding.java b/hibernate-core/src/main/java/org/hibernate/service/spi/ServiceBinding.java index 84bd6d98a9..13749b6e97 100644 --- a/hibernate-core/src/main/java/org/hibernate/service/spi/ServiceBinding.java +++ b/hibernate-core/src/main/java/org/hibernate/service/spi/ServiceBinding.java @@ -74,9 +74,9 @@ public final class ServiceBinding { public void setService(R service) { if ( this.service != null ) { - if (log.isDebugEnabled()) { - log.debug( "Overriding existing service binding [" + serviceRole.getName() + "]" ); - } + if ( log.isDebugEnabled() ) { + log.debug( "Overriding existing service binding [" + serviceRole.getName() + "]" ); + } } this.service = service; }