Refactoring: "replace with operator assignment" is now an inspection
This commit is contained in:
-4
@@ -1,4 +0,0 @@
|
||||
fun foo(x: Int) {
|
||||
var y = 1
|
||||
y += x
|
||||
}
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
fun foo(x: Int) {
|
||||
var y = 1
|
||||
<spot>y = y + x</spot>
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention transforms a modification of a variable with a simple assignment into an operation-assignment.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user