Skip to content

Commit

Permalink
Update MutableSinglyLinkedList
Browse files Browse the repository at this point in the history
  • Loading branch information
Glavo committed Jul 31, 2024
1 parent 74bdad9 commit a22e592
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public final class MutableSinglyLinkedList<E> extends ImmutableLinkedSeq.Builder

public static <E> @NotNull MutableSinglyLinkedList<E> fill(int n, E value) {
MutableSinglyLinkedList<E> res = new MutableSinglyLinkedList<>();
while (n-- > 0) {
for (int i = 0; i < n; i++) {
res.append(value);
}
return res;
Expand Down

0 comments on commit a22e592

Please sign in to comment.