Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
Change-Id: Ie772df1d7f7d3f214908a3a7ebbc9288a364e588
  • Loading branch information
javeme committed Feb 10, 2021
1 parent 860f18e commit 25a5913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public class FilterIteratorTest extends BaseUnitTest {

@Test
public void testFilter() {

AtomicInteger valuesCount = new AtomicInteger(0);

Iterator<Integer> values = DATA.iterator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public class LimitIteratorTest extends BaseUnitTest {

@Test
public void testLimit() {

AtomicInteger valuesCount = new AtomicInteger(0);

Iterator<Integer> values = DATA.iterator();
Expand Down Expand Up @@ -144,7 +143,7 @@ public void testRemove() {
List<Integer> list = new ArrayList<>(DATA);

Iterator<Integer> results = new LimitIterator<>(list.iterator(),
val -> false);
val -> false);

Assert.assertEquals(ImmutableList.of(1, 2, 3, 4), list);

Expand All @@ -160,7 +159,7 @@ public void testClose() throws Exception {
CloseableItor<Integer> vals = new CloseableItor<>(DATA.iterator());

LimitIterator<Integer> results = new LimitIterator<>(vals,
val -> true);
val -> true);

Assert.assertFalse(vals.closed());
results.close();
Expand Down

0 comments on commit 25a5913

Please sign in to comment.