Refactoring: "replace with operator assignment" is now an inspection

This commit is contained in:
Mikhail Glukhikh
2017-12-20 20:01:12 +03:00
parent c995f70631
commit 35d85ddd1f
26 changed files with 131 additions and 127 deletions
@@ -1,4 +0,0 @@
fun foo(x: Int) {
var y = 1
y += x
}
@@ -1,4 +0,0 @@
fun foo(x: Int) {
var y = 1
<spot>y = y + x</spot>
}
@@ -1,5 +0,0 @@
<html>
<body>
This intention transforms a modification of a variable with a simple assignment into an operation-assignment.
</body>
</html>