RFR: 8272992: Replace usages of Collections.sort with List.sort call in jdk.* modules

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Mon Sep 13 17:46:52 UTC 2021


On Mon, 23 Aug 2021 21:08:05 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

> Collections.sort is just a wrapper, so it is better to use an instance method directly.

Yeah. I think it's better to leave it to another PR/issue. To make this easier to review/validate.

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

PR: https://git.openjdk.java.net/jdk/pull/5230


More information about the javadoc-dev mailing list