More fixes

-Fixed: More javadoc fixes
-Fixed: BaseIntIterableTest no longer uses a deprecated function
This commit is contained in:
2022-04-08 00:13:51 +02:00
parent 2810a6f952
commit 3ffb001c73
4 changed files with 12 additions and 3 deletions
@@ -123,8 +123,8 @@ public abstract class BaseIntIterableTest
@Test
public void testStreamMap() {
if(getValidIterableTests().contains(IterableTest.STREAM_MAP)) {
Integer[] expected = IntStream.of(TEST_ARRAY).mapToObj(Integer::new).toArray(Integer[]::new);
Integer[] actual = ObjectIterators.pour(create(TEST_ARRAY).map(Integer::new).iterator()).toArray(Integer[]::new);
Integer[] expected = IntStream.of(TEST_ARRAY).mapToObj(Integer::valueOf).toArray(Integer[]::new);
Integer[] actual = ObjectIterators.pour(create(TEST_ARRAY).map(Integer::valueOf).iterator()).toArray(Integer[]::new);
ObjectArrays.stableSort(actual);
Assert.assertArrayEquals(expected, actual);
}