This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new 361225c08b Fix warning 361225c08b is described below commit 361225c08ba351a411d6c64bf0dffa768812ea3d Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Aug 3 19:41:58 2023 +0100 Fix warning --- .../src/test/java/org/apache/tomcat/jdbc/test/TestConnectionState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/TestConnectionState.java b/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/TestConnectionState.java index 4712c2e554..5c5280d075 100644 --- a/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/TestConnectionState.java +++ b/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/TestConnectionState.java @@ -92,7 +92,7 @@ public class TestConnectionState extends DefaultTestCase { // use our mock driver datasource.setDriverClassName(MockErrorDriver.class.getName()); datasource.setUrl(MockErrorDriver.url); - datasource.setDefaultAutoCommit(true); + datasource.setDefaultAutoCommit(Boolean.TRUE); datasource.setMinIdle(1); datasource.setMaxIdle(1); datasource.setMaxActive(1); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org