Adapted code cleanup feature implementation to the recent changes in IDEA

This commit is contained in:
Valentin Kipyatkov
2015-09-07 20:35:25 +03:00
parent 93f2e4b22c
commit 5d09edb3e6
6 changed files with 9 additions and 39 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ val x = fun foo(x: String) { }
fun foo() {
@loop
for (i in 1..100) {
val v = oldFun2(i as Int)/* as Int*/
val v = oldFun2(i as Int) as Int
/* comment */
continue@loop
}
+1 -1
View File
@@ -13,7 +13,7 @@ val x = fun(x: String) { }
fun foo() {
loop@
for (i in 1..100) {
val v = bar(i + 2)/* as Int*/
val v = bar(i + 2)
/* comment */
continue@loop
}