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

Andrey Turbanov duke at openjdk.java.net
Wed Oct 13 11:37:57 UTC 2021


On Mon, 23 Aug 2021 21:08:05 GMT, Andrey Turbanov <duke at 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 <turbanoff at gmail.com>
Committer: Pavel Rappo <prappo at 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


More information about the javadoc-dev mailing list