Integrated: 8272863: Replace usages of Collections.sort with List.sort call in public java modules

Andrey Turbanov github.com+741251+turbanoff at openjdk.java.net
Thu Aug 26 20:50:27 UTC 2021


On Mon, 23 Aug 2021 21:01:48 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.

This pull request has now been integrated.

Changeset: d732c309
Author:    Andrey Turbanov <turbanoff at gmail.com>
Committer: Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/d732c3091fea0a7c6d6767227de89002564504e5
Stats:     27 lines in 10 files changed: 0 ins; 8 del; 19 mod

8272863: Replace usages of Collections.sort with List.sort call in public java modules

Reviewed-by: serb, dfuchs, naoto

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

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



More information about the security-dev mailing list