Formatter: support "else on new line" option
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user