Skip to content

Commit d75a9af

Browse files
committed
Fixed docs
1 parent 5eaffbb commit d75a9af

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/it/unimi/dsi/fastutil/Arrays.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private Arrays() {}
6262
*
6363
* @param arrayLength an array length (must be nonnegative).
6464
* @param from a start index (inclusive).
65-
* @param to an end index (inclusive).
65+
* @param to an end index (exclusive).
6666
* @throws IllegalArgumentException if {@code from} is greater than {@code to}.
6767
* @throws ArrayIndexOutOfBoundsException if {@code from} or {@code to} are greater than
6868
* {@code arrayLength} or negative.

test/it/unimi/dsi/fastutil/ints/IntImmutableListTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public void testToListWithExpectedSize_parallel() {
111111
transformed = IntImmutableList.toListWithExpectedSize(baseList.intParallelStream().map(i -> i + 40), 50000);
112112
assertEquals(expectedList, transformed);
113113
}
114-
114+
115115
@Test
116116
public void testListIterator_testIteration() {
117117
final IntImmutableList l = IntImmutableList.of(0, 1, 2, 3);
@@ -353,7 +353,7 @@ public void testSublistListIterator_testForEachRemaining() {
353353
final IntImmutableList l = IntImmutableList.of(0, 1, 2, 3, 4, 5);
354354
final IntList sl = l.subList(1, 4);
355355
final IntListIterator li = sl.listIterator(1);
356-
IntList consumer = new IntArrayList();
356+
final IntList consumer = new IntArrayList();
357357
li.forEachRemaining(consumer::add);
358358
assertEquals(consumer, IntList.of(2, 3));
359359
}

0 commit comments

Comments
 (0)