Skip to content

Commit 51fabe9

Browse files
committed
Fix warning
1 parent 0fc1feb commit 51fabe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/TestConnectionState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void testWithException() throws SQLException {
9292
// use our mock driver
9393
datasource.setDriverClassName(MockErrorDriver.class.getName());
9494
datasource.setUrl(MockErrorDriver.url);
95-
datasource.setDefaultAutoCommit(true);
95+
datasource.setDefaultAutoCommit(Boolean.TRUE);
9696
datasource.setMinIdle(1);
9797
datasource.setMaxIdle(1);
9898
datasource.setMaxActive(1);

0 commit comments

Comments
 (0)