This commit is contained in:
Gary Gregory 2024-02-09 18:17:02 -05:00
parent 1ecc38b59d
commit 792399c91a
1 changed files with 1 additions and 1 deletions

View File

@ -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);