Inline useless single use local variable

This commit is contained in:
Gary Gregory 2024-05-12 09:04:57 -04:00
parent 97c5ac99f0
commit 248fcd7d8a

View File

@ -41,8 +41,7 @@ public class IteratorIterableTest extends BulkTest {
list.add(Integer.valueOf(0));
list.add(Integer.valueOf(1));
list.add(Integer.valueOf(2));
final Iterator<Integer> iter = list.iterator();
return iter;
return list.iterator();
}
@Test