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-proxy.git
The following commit(s) were added to refs/heads/master by this push:
new 2f07af1 Don't initialize AtomicInteger to its default value
2f07af1 is described below
commit 2f07af149449cd09a868a633e9a2dc7cdb7a1baa
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sun Aug 17 09:39:29 2025 -0400
Don't initialize AtomicInteger to its default value
---
.../main/java/org/apache/commons/proxy2/javassist/JavassistUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/javassist/src/main/java/org/apache/commons/proxy2/javassist/JavassistUtils.java
b/javassist/src/main/java/org/apache/commons/proxy2/javassist/JavassistUtils.java
index 43be772..e76485a 100644
---
a/javassist/src/main/java/org/apache/commons/proxy2/javassist/JavassistUtils.java
+++
b/javassist/src/main/java/org/apache/commons/proxy2/javassist/JavassistUtils.java
@@ -43,7 +43,7 @@ final class JavassistUtils
//******************************************************************************************************************
public static final String DEFAULT_BASE_NAME = "JavassistUtilsGenerated";
- private static final AtomicInteger CLASS_NUMBER = new AtomicInteger(0);
+ private static final AtomicInteger CLASS_NUMBER = new AtomicInteger();
private static final ClassPool CLASS_POOL = new ClassPool();
private static final Set<ClassLoader> CLASS_LOADERS = new
HashSet<ClassLoader>();