RFR: 8273907: Cleanup redundant Math.max/min calls in DefaultHighlighter
Aleksey Shipilev
shade at openjdk.java.net
Thu Sep 16 19:14:57 UTC 2021
On Thu, 16 Sep 2021 08:08:07 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:
> This calls are redundant, because order of `p0` and `p1` is checked in method pre-conditions.
> Checks were added under [JDK-6771184](https://bugs.openjdk.java.net/browse/JDK-6771184) - https://github.com/openjdk/jdk/commit/79ed0e75ceeb
@turbanoff, you are already [recorded](https://openjdk.java.net/census#aturbanov) as Author, which means you have the access to JIRA? Could you please submit the bug yourself and change the title of this PR accordingly?
-------------
PR: https://git.openjdk.java.net/jdk/pull/5542
More information about the client-libs-dev
mailing list