RFR: 8272863: Replace usages of Collections.sort with List.sort call in public java modules [v2]
Andrey Turbanov
github.com+741251+turbanoff at openjdk.java.net
Tue Aug 24 20:21:52 UTC 2021
> Collections.sort is just a wrapper, so it is better to use an instance method directly.
Andrey Turbanov has updated the pull request incrementally with one additional commit since the last revision:
8272863: Replace usages of Collections.sort with List.sort call in public java modules
replace Collections.sort without comparator too
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5229/files
- new: https://git.openjdk.java.net/jdk/pull/5229/files/e31936a5..d6dfc8bf
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5229&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5229&range=00-01
Stats: 21 lines in 10 files changed: 0 ins; 4 del; 17 mod
Patch: https://git.openjdk.java.net/jdk/pull/5229.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5229/head:pull/5229
PR: https://git.openjdk.java.net/jdk/pull/5229
More information about the security-dev
mailing list