From e27afb8ded690b5f094a8a06c43ada0aef135341 Mon Sep 17 00:00:00 2001 From: Sanne Grinovero Date: Wed, 17 Oct 2012 15:10:44 +0100 Subject: [PATCH] HHH-7699 Proper code formatting of log statements --- .../DriverManagerConnectionProviderImpl.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/DriverManagerConnectionProviderImpl.java b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/DriverManagerConnectionProviderImpl.java index 3b9d67da7b..652597793f 100644 --- a/hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/DriverManagerConnectionProviderImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/DriverManagerConnectionProviderImpl.java @@ -93,7 +93,7 @@ public class DriverManagerConnectionProviderImpl } public void configure(Map configurationValues) { - LOG.usingHibernateBuiltInConnectionPool(); + LOG.usingHibernateBuiltInConnectionPool(); String driverClassName = (String) configurationValues.get( AvailableSettings.DRIVER ); if ( driverClassName == null ) { @@ -127,18 +127,19 @@ public class DriverManagerConnectionProviderImpl } poolSize = ConfigurationHelper.getInt( AvailableSettings.POOL_SIZE, configurationValues, 20 ); // default pool size 20 - LOG.hibernateConnectionPoolSize(poolSize); + LOG.hibernateConnectionPoolSize( poolSize ); autocommit = ConfigurationHelper.getBoolean( AvailableSettings.AUTOCOMMIT, configurationValues ); - LOG.autoCommitMode( autocommit ); + LOG.autoCommitMode( autocommit ); isolation = ConfigurationHelper.getInteger( AvailableSettings.ISOLATION, configurationValues ); - if (isolation != null) LOG.jdbcIsolationLevel(Environment.isolationLevelToString(isolation.intValue())); + if ( isolation != null ) + LOG.jdbcIsolationLevel( Environment.isolationLevelToString( isolation.intValue() ) ); url = (String) configurationValues.get( AvailableSettings.URL ); if ( url == null ) { - String msg = LOG.jdbcUrlNotSpecified(AvailableSettings.URL); - LOG.error(msg); + String msg = LOG.jdbcUrlNotSpecified( AvailableSettings.URL ); + LOG.error( msg ); throw new HibernateException( msg ); }