Converter:
Preserve white spaces for top members (classes, package statements, comments)
This commit is contained in:
committed by
Pavel V. Talanov
parent
098a80a2af
commit
d69c61c972
@@ -4,10 +4,12 @@ class Foo() {
|
||||
fun execute() {
|
||||
}
|
||||
}
|
||||
|
||||
class Bar() {
|
||||
var fooNotNull: Foo = Foo()
|
||||
var fooNullable: Foo = null
|
||||
}
|
||||
|
||||
class Test() {
|
||||
public fun test(barNotNull: Bar, barNullable: Bar) {
|
||||
barNotNull.fooNotNull.execute()
|
||||
|
||||
@@ -20,4 +20,4 @@ class Test {
|
||||
barNullable.fooNotNull.execute();
|
||||
barNullable.fooNullable.execute();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,10 +4,12 @@ open class Foo() {
|
||||
open fun execute() {
|
||||
}
|
||||
}
|
||||
|
||||
open class Bar() {
|
||||
var fooNotNull: Foo = Foo()
|
||||
var fooNullable: Foo? = null
|
||||
}
|
||||
|
||||
open class Test() {
|
||||
public open fun test(barNotNull: Bar, barNullable: Bar?) {
|
||||
barNotNull.fooNotNull.execute()
|
||||
|
||||
Reference in New Issue
Block a user