Skip to content

Commit

Permalink
Improved task 1116
Browse files Browse the repository at this point in the history
  • Loading branch information
javadev authored Oct 29, 2024
1 parent 066ee0f commit 610e4be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ZeroEvenOddTest {
@Test
void zeroEvenOdd() throws InterruptedException {
int[] zeroEvenOddData = {0};
IntConsumer consumer = (data) -> zeroEvenOddData[0]++;
IntConsumer consumer = data -> zeroEvenOddData[0]++;
int n = 5;
ZeroEvenOdd zeroEvenOdd = new ZeroEvenOdd(n);
Thread firstThread =
Expand Down

0 comments on commit 610e4be

Please sign in to comment.