RFR: 8310033: Clarify return value of Java Time compareTo methods [v2]

Jens Lidestrom duke at openjdk.org
Sun Jun 18 19:39:09 UTC 2023


On Fri, 16 Jun 2023 22:54:59 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> While the new wording is clearly an improvement, this reads weird:
> 
> > @return the comparator value is less...
> 

I suggest you use the safe form as the old text, which used a comma:

> ```
> @return the comparator value, that is negative...
> ```

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

PR Comment: https://git.openjdk.org/jdk/pull/14479#issuecomment-1596245859


More information about the core-libs-dev mailing list