Skip to content

Commit b7eb4e2

Browse files
committed
8297306: Incorrect brackets in Javadoc for a constructor of IteratorSpliterator
Reviewed-by: alanb, iris, naoto
1 parent a638663 commit b7eb4e2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/java.base/share/classes/java/util/Spliterators.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
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.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* 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) {
399399

400400
/**
401401
* 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.
404404
*
405405
* <p>The spliterator is
406406
* <em><a href="Spliterator.html#binding">late-binding</a></em>, inherits
@@ -1817,11 +1817,11 @@ static class IteratorSpliterator<T> implements Spliterator<T> {
18171817

18181818
/**
18191819
* 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
18221822
* size.
18231823
*
1824-
* @param c the collection
1824+
* @param collection the collection
18251825
* @param characteristics properties of this spliterator's
18261826
* source or elements.
18271827
*/

0 commit comments

Comments
 (0)