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