On Wed, 8 Jul 2026 00:18:14 GMT, ExE Boss <[email protected]> wrote:

>> Daisuke Yamazaki has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Revert redundant styling
>
> src/java.base/share/classes/java/util/PriorityQueue.java line 808:
> 
>> 806:         int i = (n >>> 1) - 1;
>> 807:         final Comparator<? super E> cmp;
>> 808:         if ((cmp = comparator) == null)
> 
> If `cmp` is also made into a parameter, then this method could be made 
> `static`

Hello again @ExE-Boss.

Good catch. Thanks.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/31701#discussion_r3542988417

Reply via email to