On Thu, 11 Feb 2021 04:37:34 GMT, Stuart Marks <[email protected]> wrote:
>> Joe Darcy has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Fix typos in javadoc tags found during review.
>
> src/java.base/share/classes/java/util/Comparator.java line 159:
>
>> 157: * and it imposes the same ordering as this comparator. Thus,
>> 158: * {@code comp1.equals(comp2)} implies that {@code
>> signum(comp1.compare(o1,
>> 159: * o2))==signum(comp2.compare(o1, o2))} for every object reference
>
> Maybe make "signum" be a link here, similar to other locations where it's
> used.
Okay -- I didn't want to go overboard making all the signum references links to
the method, but I can change the first occurrence in Comparator.equals to a
link.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2471