This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new ecd39fdc1b Fix warning ecd39fdc1b is described below commit ecd39fdc1b91ac7455a7e8f1efc34680b067430d 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