This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/master by this push: new 76cd031c Don't initialize instance variables to their default values 76cd031c is described below commit 76cd031c26e8d6016732f83eca4a8677f5c8aa3f Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sat Jan 18 09:51:53 2025 -0500 Don't initialize instance variables to their default values --- .../org/apache/commons/pool3/impl/ResilientPooledObjectFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/pool3/impl/ResilientPooledObjectFactory.java b/src/main/java/org/apache/commons/pool3/impl/ResilientPooledObjectFactory.java index 65596f76..8b10b527 100644 --- a/src/main/java/org/apache/commons/pool3/impl/ResilientPooledObjectFactory.java +++ b/src/main/java/org/apache/commons/pool3/impl/ResilientPooledObjectFactory.java @@ -283,9 +283,9 @@ public class ResilientPooledObjectFactory<T, E extends Exception> implements Poo private static final int MAX_FAILURES = 5; - private boolean killed = false; - private boolean running = false; - private int failures = 0; + private boolean killed; + private boolean running; + private int failures; @Override public void run() {