This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch
dependabot/gradle/lib/kotlin/com.ncorti.ktfmt.gradle-0.13.0
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to
refs/heads/dependabot/gradle/lib/kotlin/com.ncorti.ktfmt.gradle-0.13.0 by this
push:
new 6ec4c7086 Apply ktfmt formatting changes
6ec4c7086 is described below
commit 6ec4c7086ff12d24455209d49b8fffedd3b8394b
Author: Christopher Tubbs <[email protected]>
AuthorDate: Wed Aug 9 14:36:47 2023 -0400
Apply ktfmt formatting changes
---
.../src/main/kotlin/org/apache/thrift/test/TestHandler.kt | 3 ++-
.../src/main/kotlin/org/apache/thrift/test/TestServer.kt | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git
a/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/TestHandler.kt
b/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/TestHandler.kt
index b7f38d7fe..a2ae0f2a1 100644
---
a/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/TestHandler.kt
+++
b/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/TestHandler.kt
@@ -104,7 +104,8 @@ class TestHandler : ThriftTest {
override suspend fun testNest(thing: Xtruct2): Xtruct2 {
val thing2: Xtruct = thing.struct_thing!!
logger.info(
- """testNest({${thing.byte_thing}, {"${thing2.string_thing}",
${thing2.byte_thing}, ${thing2.i32_thing}, ${thing2.i64_thing}},
${thing.i32_thing}})""".trimIndent()
+ """testNest({${thing.byte_thing}, {"${thing2.string_thing}",
${thing2.byte_thing}, ${thing2.i32_thing}, ${thing2.i64_thing}},
${thing.i32_thing}})"""
+ .trimIndent()
)
return thing
}
diff --git
a/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/TestServer.kt
b/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/TestServer.kt
index 315d12e72..3cccc3d3d 100644
---
a/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/TestServer.kt
+++
b/lib/kotlin/cross-test-server/src/main/kotlin/org/apache/thrift/test/TestServer.kt
@@ -96,6 +96,7 @@ object TestServer {
internal class TestServerEventHandler() : TServerEventHandler {
private var nextConnectionId = 1
+
override fun preServe() {
println(
"TServerEventHandler.preServe - called only once before server
starts accepting connections"