KT 13962: Intention to replace Java collection constructor calls with function calls from stdlib (ArrayList() → arrayListOf())
This commit is contained in:
committed by
Mikhail Glukhikh
parent
bbeb65905e
commit
0e716fd528
+3
@@ -0,0 +1,3 @@
|
||||
class Person(val name: String)
|
||||
|
||||
val persons = <spot>arrayListOf()</spot>
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class Person(val name: String)
|
||||
|
||||
val persons = <spot>ArrayList()</spot>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention reports explicit calls of <b>Collection constructor</b> calls which can be replaced by function calls from the stdlib.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user