Formatter: support "else on new line" option

This commit is contained in:
Pavel V. Talanov
2014-01-17 18:34:43 +04:00
parent 97487e7238
commit 5caabc20f6
9 changed files with 122 additions and 16 deletions
@@ -14,8 +14,7 @@ public class Test() {
val result = true
if (parent.isDirectory()) {
return true
}
else
} else
return false
}
}
@@ -14,8 +14,7 @@ public open class Test() {
var result: Boolean = true
if (parent?.isDirectory()!!) {
return true
}
else
} else
return false
}
}