tests: apply official code style

#KT-38632 Fixed
This commit is contained in:
Dmitry Gridin
2020-04-28 15:51:57 +07:00
parent d8f9643650
commit 11a3482970
406 changed files with 1785 additions and 1525 deletions
+3 -3
View File
@@ -33,9 +33,9 @@ internal class CustomerBuilder {
object User {
fun main() {
val customer = CustomerBuilder()
.WithFirstName("Homer")
.WithLastName("Simpson")
.Build()
.WithFirstName("Homer")
.WithLastName("Simpson")
.Build()
println(customer.firstName)
println(customer.lastName)
}
@@ -1 +1,5 @@
internal class C(@Deprecated("") private val p1: Int, @Deprecated("") private val myP2: Int, @Deprecated("") var p3: Int)
internal class C(
@Deprecated("") private val p1: Int,
@Deprecated("") private val myP2: Int,
@Deprecated("") var p3: Int
)
@@ -1,12 +1,18 @@
internal class C1(arg1: Int,
arg2: Int,
arg3: Int) {
internal class C1(
arg1: Int,
arg2: Int,
arg3: Int
) {
constructor(x: Int,
y: Int) : this(x, x + y, 0) {
constructor(
x: Int,
y: Int
) : this(x, x + y, 0) {
}
}
internal class C2(private val arg1: Int,
private val arg2: Int,
arg3: Int)
internal class C2(
private val arg1: Int,
private val arg2: Int,
arg3: Int
)