Java to Kotlin converter: more cases when field can be declared as val

This commit is contained in:
Valentin Kipyatkov
2014-06-23 20:11:06 +04:00
parent 5a8ab41948
commit e38b1b4fd8
14 changed files with 74 additions and 21 deletions
@@ -1,4 +1,4 @@
class C(private var s: String?) {
class C(private val s: String?) {
fun foo() {
if (s != null) {