On Wed, 20 Dec 2023 05:12:05 GMT, Stuart Marks <[email protected]> wrote:
>> Valeh Hajiyev has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> updated the javadoc
>
> src/java.base/share/classes/java/util/PriorityQueue.java line 216:
>
>> 214: * specified collection. The {@code PriorityQueue} will order the
>> 215: * priority queue's elements elements according to the specified
>> 216: * comparator.
>
> I know you updated this in response to Alan's comment, but the second
> sentence now says "elements elements". And repeating "priority queue" sounds
> somewhat redundant. Suggestion for the second sentence:
>
>> The elements of the new {@code PriorityQueue} will be ordered according to
>> the specified comparator.
updated, thanks for the suggestion
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17045#discussion_r1437300604