|
1 | 1 | /* |
2 | | - * Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 | 4 | * |
5 | 5 | * This code is free software; you can redistribute it and/or modify it |
@@ -399,8 +399,8 @@ private static void checkFromToBounds(int arrayLength, int origin, int fence) { |
399 | 399 |
|
400 | 400 | /** |
401 | 401 | * Creates a {@code Spliterator} using the given collection's |
402 | | - * {@link java.util.Collection#iterator()} as the source of elements, and |
403 | | - * reporting its {@link java.util.Collection#size()} as its initial size. |
| 402 | + * {@link java.util.Collection#iterator() iterator} as the source of elements, and |
| 403 | + * reporting its {@link java.util.Collection#size() size} as its initial size. |
404 | 404 | * |
405 | 405 | * <p>The spliterator is |
406 | 406 | * <em><a href="Spliterator.html#binding">late-binding</a></em>, inherits |
@@ -1817,11 +1817,11 @@ static class IteratorSpliterator<T> implements Spliterator<T> { |
1817 | 1817 |
|
1818 | 1818 | /** |
1819 | 1819 | * Creates a spliterator using the given |
1820 | | - * collection's {@link java.util.Collection#iterator()) for traversal, |
1821 | | - * and reporting its {@link java.util.Collection#size()) as its initial |
| 1820 | + * collection's {@link java.util.Collection#iterator() iterator} for traversal, |
| 1821 | + * and reporting its {@link java.util.Collection#size() size} as its initial |
1822 | 1822 | * size. |
1823 | 1823 | * |
1824 | | - * @param c the collection |
| 1824 | + * @param collection the collection |
1825 | 1825 | * @param characteristics properties of this spliterator's |
1826 | 1826 | * source or elements. |
1827 | 1827 | */ |
|
0 commit comments