Intention to replace add/addAll on a mutable collection with += (#1143)
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
val a = arrayListOf<Int>(1, 2, 3)
|
||||
a <spot>+=</spot> 4
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun foo() {
|
||||
val a = arrayListOf<Int>(1, 2, 3)
|
||||
a<spot>.add</spot>(4)
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replaces <code>add()</code> and <code>addAll()</code> calls in mutable collection with <code>+=</code>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user