HHH-11593 - Fix checkstyle errors
This commit is contained in:
parent
6b36e01b0c
commit
245dc27e48
|
@ -75,12 +75,12 @@ public class PreparedStatementSpyConnectionProvider
|
|||
String sql = (String) statementInvocation.getArguments()[0];
|
||||
executeStatements.add( sql );
|
||||
return statementInvocation.callRealMethod();
|
||||
}).when( statementSpy ).execute( ArgumentMatchers.anyString() );
|
||||
} ).when( statementSpy ).execute( ArgumentMatchers.anyString() );
|
||||
Mockito.doAnswer( statementInvocation -> {
|
||||
String sql = (String) statementInvocation.getArguments()[0];
|
||||
executeUpdateStatements.add( sql );
|
||||
return statementInvocation.callRealMethod();
|
||||
}).when( statementSpy ).executeUpdate( ArgumentMatchers.anyString() );
|
||||
} ).when( statementSpy ).executeUpdate( ArgumentMatchers.anyString() );
|
||||
return statementSpy;
|
||||
} ).when( connectionSpy ).createStatement();
|
||||
}
|
||||
|
|
|
@ -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>.
|
||||
*/add .
|
||||
package org.hibernate.testing.jdbc;
|
||||
|
||||
import java.util.LinkedList;
|
||||
|
|
Loading…
Reference in New Issue