Java to Kotlin converter: declaring locals as var's in most of cases when needed, dropped forceLocalVariableImmutability setting

This commit is contained in:
Valentin Kipyatkov
2014-06-24 20:04:07 +04:00
parent 63ebfe2c03
commit d3b773c0cd
29 changed files with 31 additions and 52 deletions
@@ -3,7 +3,7 @@ import java.util.BitSet
class Foo() {
fun foo(o: BitSet) {
val o2 = o
val foo = 0
var foo = 0
foo = o2.size()
}
}