ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/CountedCompleter8Test.java
(Generate patch)

Comparing jsr166/src/test/tck/CountedCompleter8Test.java (file contents):
Revision 1.1 by jsr166, Sat Oct 15 18:51:12 2016 UTC vs.
Revision 1.2 by jsr166, Sun Nov 6 22:42:10 2016 UTC

# Line 123 | Line 123 | public class CountedCompleter8Test exten
123          Integer[] a = new Integer[n];
124          for (int i = 0; i < n; i++) a[i] = i + 1;
125          AtomicInteger ai = new AtomicInteger(0);
126 <        action.accept(a, (x) -> ai.addAndGet(x));
126 >        action.accept(a, x -> ai.addAndGet(x));
127          assertEquals(n * (n + 1) / 2, ai.get());
128      }
129  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines