On Thu, 16 Sep 2021 08:08:07 GMT, Andrey Turbanov <[email protected]> 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 This pull request has now been integrated. Changeset: b3b4b1cc Author: Andrey Turbanov <[email protected]> Committer: Alexey Ivanov <[email protected]> URL: https://git.openjdk.java.net/jdk/commit/b3b4b1cc218d4c02809eb7fd4d83d541acfbd9bd Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod 8273907: Cleanup redundant Math.max/min calls in DefaultHighlighter Reviewed-by: pbansal, aivanov, azvegint ------------- PR: https://git.openjdk.java.net/jdk/pull/5542
