RFR: 7418: Stop using Collections sort method

Marcus Hirt hirt at openjdk.java.net
Fri Oct 8 22:09:25 UTC 2021


Since JDK 8, the collections themselves have a sort method. Might as well start using it. ;)

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

Commit messages:
 - Missed the sortAscending
 - 7418: Stop using Collections sort method

Changes: https://git.openjdk.java.net/jmc/pull/319/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jmc&pr=319&range=00
  Issue: https://bugs.openjdk.java.net/browse/JMC-7418
  Stats: 130 lines in 42 files changed: 0 ins; 39 del; 91 mod
  Patch: https://git.openjdk.java.net/jmc/pull/319.diff
  Fetch: git fetch https://git.openjdk.java.net/jmc pull/319/head:pull/319

PR: https://git.openjdk.java.net/jmc/pull/319


More information about the jmc-dev mailing list