You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/02/09 23:17:07 UTC
(commons-collections) branch master updated: Simplify
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
The following commit(s) were added to refs/heads/master by this push:
new 792399c91 Simplify
792399c91 is described below
commit 792399c91a1e622aafd00990a281287c217a4a68
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Feb 9 18:17:02 2024 -0500
Simplify
---
src/test/java/org/apache/commons/collections4/FluentIterableTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/collections4/FluentIterableTest.java b/src/test/java/org/apache/commons/collections4/FluentIterableTest.java
index 285a3af03..6d1aa48d6 100644
--- a/src/test/java/org/apache/commons/collections4/FluentIterableTest.java
+++ b/src/test/java/org/apache/commons/collections4/FluentIterableTest.java
@@ -273,7 +273,7 @@ public class FluentIterableTest {
@Test
public void testForEach() {
- final AtomicInteger sum = new AtomicInteger(0);
+ final AtomicInteger sum = new AtomicInteger();
final Closure<Integer> closure = sum::addAndGet;
FluentIterable.of(iterableA).forEach(closure);