You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Fisherman110 (via GitHub)" <gi...@apache.org> on 2026/05/15 08:05:31 UTC
Re: [PR] fix for Bug 62432 , clear invalid Entry for org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer [tomcat]
Fisherman110 commented on code in PR #941:
URL: https://github.com/apache/tomcat/pull/941#discussion_r3246784851
##########
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/StatementFinalizer.java:
##########
@@ -40,11 +41,13 @@ public class StatementFinalizer extends AbstractCreateStatementInterceptor {
protected List<StatementEntry> statements = new LinkedList<>();
private boolean logCreationStack = false;
+ private int createStatementCount=0;
Review Comment:
yeah, i initialize variable with 0 to make the code clear although it's actually unnecessary
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org