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 97e3744 Don't initialize AtomicInteger to its default value
97e3744 is described below
commit 97e37440b5433e824c7c4e25a5fe2181e6ceeab7
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sun Aug 17 09:39:11 2025 -0400
Don't initialize AtomicInteger to its default value
---
asm/src/main/java/org/apache/commons/proxy2/asm/ASMProxyFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/asm/src/main/java/org/apache/commons/proxy2/asm/ASMProxyFactory.java
b/asm/src/main/java/org/apache/commons/proxy2/asm/ASMProxyFactory.java
index ee2e977..f44154b 100644
--- a/asm/src/main/java/org/apache/commons/proxy2/asm/ASMProxyFactory.java
+++ b/asm/src/main/java/org/apache/commons/proxy2/asm/ASMProxyFactory.java
@@ -82,7 +82,7 @@ public class ASMProxyFactory extends
AbstractSubclassingProxyFactory
private static class ProxyGenerator extends AbstractProxyClassGenerator
implements Opcodes
{
- private static final AtomicInteger CLASS_NUMBER = new AtomicInteger(0);
+ private static final AtomicInteger CLASS_NUMBER = new AtomicInteger();
private static final String CLASSNAME_PREFIX = "CommonsProxyASM_";
private static final String HANDLER_NAME = "__handler";
private static final Type INVOKER_TYPE = Type.getType(Invoker.class);