s3b- commented on code in PR #941:
URL: https://github.com/apache/tomcat/pull/941#discussion_r2976789976
##########
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:
It's unnecessary to initialize instance variables, since they're being
initialized with their default value. In this case: 0
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]