Inspection to highlight usages of Collections.sort() and replace them with .sort() method from Kotlin stdlib
#KT-11023 Fixed
This commit is contained in:
committed by
Dmitry Jemerov
parent
4ac870500f
commit
2cdc246a27
@@ -0,0 +1,7 @@
|
||||
// RUNTIME_WITH_FULL_JDK
|
||||
import java.util.*
|
||||
|
||||
fun test() {
|
||||
val mutableList = mutableListOf(1, 2)
|
||||
<caret>Collections.shuffle(mutableList, Random(1))
|
||||
}
|
||||
Reference in New Issue
Block a user