Inspection to highlight usages of Collections.sort() and replace them with .sort() method from Kotlin stdlib

#KT-11023 Fixed
This commit is contained in:
Toshiaki Kameyama
2017-11-21 23:46:25 +09:00
committed by Dmitry Jemerov
parent 4ac870500f
commit 2cdc246a27
19 changed files with 280 additions and 0 deletions
@@ -0,0 +1,7 @@
// RUNTIME_WITH_FULL_JDK
import java.util.*
fun test() {
val mutableList = mutableListOf(1, 2)
<caret>Collections.shuffle(mutableList, Random(1))
}