]> source.dussan.org Git - aspectj.git/commit
Collections.sort() can be replaced with List.sort()
authorLars Grefer <eclipse@larsgrefer.de>
Sat, 15 Aug 2020 14:13:00 +0000 (16:13 +0200)
committerLars Grefer <eclipse@larsgrefer.de>
Sat, 15 Aug 2020 14:13:00 +0000 (16:13 +0200)
commitefa2e5ce8c9cc2d20ab7479d1caa4a2ae1de6e8a
tree7be97c63260610ad409b9dbd889fbe9bfaf5b434
parent7824e7d3045b9db278a96a21e69110976767b32e
Collections.sort() can be replaced with List.sort()

Reports calls to Collections.sort(list, comparator) which could be replaced with list.sort(comparator).

Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
12 files changed:
ajde/src/main/java/org/aspectj/ajde/internal/LstBuildConfigManager.java
ajde/src/main/java/org/aspectj/ajde/ui/internal/TreeStructureViewBuilder.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/ClassGen.java
build/src/main/java/org/aspectj/internal/tools/build/SampleGatherer.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCase.java
testing/src/test/java/org/aspectj/testing/util/Diffs.java
testing/src/test/java/org/aspectj/testing/util/LangUtil.java
tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
weaver/src/main/java/org/aspectj/weaver/bcel/AtAjAttributes.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelClassWeaver.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelWeaver.java
weaver/src/main/java/org/aspectj/weaver/bcel/LazyClassGen.java