HHH-11617 : Fix CheckStyle failures

This commit is contained in:
Gail Badner 2018-04-27 17:40:25 -07:00
parent d6ab67ac50
commit abbacafbae
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.testing.jdbc;
import java.lang.reflect.Method;
@ -69,4 +75,4 @@ public interface PreparedStatementObserver {
*/
void clear();
}
}

View File

@ -97,7 +97,7 @@ public class PreparedStatementProxyConnectionProvider extends ConnectionProvider
ClassLoader.getSystemClassLoader(),
new Class[] { PreparedStatement.class },
new PreparedStatementHandler( actualConnection.prepareStatement( sql ),
preparedStatementObserver
preparedStatementObserver
)
);
preparedStatementObserver.preparedStatementCreated( preparedStatement, sql );