On Mon, 8 May 2023 19:07:17 GMT, Viktor Klang <d...@openjdk.org> wrote:
>> Attempting to make the "at-most once" nature, of invoking the supplied >> action to tryAdvance, clearer in the JavaDoc. > > Viktor Klang has updated the pull request incrementally with one additional > commit since the last revision: > > Update src/java.base/share/classes/java/util/Spliterator.java > > Co-authored-by: Paul Sandoz <paul.d.san...@googlemail.com> src/java.base/share/classes/java/util/Spliterator.java line 298: > 296: public interface Spliterator<T> { > 297: /** > 298: * If a remaining element exists: performs the given action on it, I'm not sure the ":" is an improvement on the ",". "If the remaining element exists, the action is performed on it, ..." ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13860#discussion_r1187894350