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-collections.git

commit 66b30fe3f3c65efcf22a2fb222b356e55f4ed127
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Oct 10 07:43:29 2023 -0400

    Fix Checkstyle
---
 src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java 
b/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java
index a27528061..e9975e521 100644
--- a/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java
+++ b/src/main/java/org/apache/commons/collections4/map/StaticBucketMap.java
@@ -177,7 +177,7 @@ public final class StaticBucketMap<K, V> extends 
AbstractIterableMap<K, V> {
         int cnt = 0;
 
         for (int i = 0; i < buckets.length; i++) {
-            synchronized(locks[i]) {
+            synchronized (locks[i]) {
                 cnt += locks[i].size;
             }
         }

Reply via email to