8297306: Incorrect brackets in Javadoc for a constructor of IteratorSpliterator

Reviewed-by: alanb, iris, naoto
This commit is contained in:
Jaikiran Pai 2023-01-10 01:53:48 +00:00
parent a63866341e
commit b7eb4e2ffd

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -399,8 +399,8 @@ public final class Spliterators {
/**
* Creates a {@code Spliterator} using the given collection's
* {@link java.util.Collection#iterator()} as the source of elements, and
* reporting its {@link java.util.Collection#size()} as its initial size.
* {@link java.util.Collection#iterator() iterator} as the source of elements, and
* reporting its {@link java.util.Collection#size() size} as its initial size.
*
* <p>The spliterator is
* <em><a href="Spliterator.html#binding">late-binding</a></em>, inherits
@ -1817,11 +1817,11 @@ public final class Spliterators {
/**
* Creates a spliterator using the given
* collection's {@link java.util.Collection#iterator()) for traversal,
* and reporting its {@link java.util.Collection#size()) as its initial
* collection's {@link java.util.Collection#iterator() iterator} for traversal,
* and reporting its {@link java.util.Collection#size() size} as its initial
* size.
*
* @param c the collection
* @param collection the collection
* @param characteristics properties of this spliterator's
* source or elements.
*/