On Mon, 23 Aug 2021 21:08:05 GMT, Andrey Turbanov <d...@openjdk.java.net> wrote:
> Collections.sort is just a wrapper, so it is better to use an instance method > directly. > Affected modules: jdk.javadoc, jdk.jcmd, jdk.jconsole This pull request has now been integrated. Changeset: 5ffb5d10 Author: Andrey Turbanov <turban...@gmail.com> Committer: Pavel Rappo <pra...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/5ffb5d100f3383f9afaf20c8a659971522153505 Stats: 14 lines in 5 files changed: 0 ins; 3 del; 11 mod 8272992: Replace usages of Collections.sort with List.sort call in jdk.* modules Reviewed-by: cjplummer, prappo ------------- PR: https://git.openjdk.java.net/jdk/pull/5230