This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c8a23faf7 Change `DEFAULT_CHANGES_BUFFER` to `private` visibility
5c8a23faf7 is described below

commit 5c8a23faf765df435ae9d7f6405edc58de755d9a
Author: Daniel Sun <[email protected]>
AuthorDate: Sun May 31 14:38:34 2026 +0900

    Change `DEFAULT_CHANGES_BUFFER` to `private` visibility
---
 src/main/java/groovy/concurrent/Agent.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/groovy/concurrent/Agent.java 
b/src/main/java/groovy/concurrent/Agent.java
index a8041c9c40..3dd4d494a5 100644
--- a/src/main/java/groovy/concurrent/Agent.java
+++ b/src/main/java/groovy/concurrent/Agent.java
@@ -77,7 +77,7 @@ import java.util.function.Function;
 public final class Agent<T> {
 
     /** Default per-subscriber buffer size for {@link #changes()}. */
-    public static final int DEFAULT_CHANGES_BUFFER = 256;
+    private static final int DEFAULT_CHANGES_BUFFER = 256;
 
     private final ReentrantReadWriteLock rwLock = new ReentrantReadWriteLock();
     private final ExecutorService updateExecutor;

Reply via email to