From 5b48cdbad2493c7af9e79bb9996f195ace3123e5 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 6 May 2019 15:44:56 +0200 Subject: style: Format code according to Ktlint style guide This change formats the code according to the style guide of Ktlint. --- .../kotlin/com/atlarge/odcsim/testkit/internal/TestInboxImpl.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'odcsim-testkit/src/main/kotlin/com/atlarge/odcsim/testkit/internal/TestInboxImpl.kt') diff --git a/odcsim-testkit/src/main/kotlin/com/atlarge/odcsim/testkit/internal/TestInboxImpl.kt b/odcsim-testkit/src/main/kotlin/com/atlarge/odcsim/testkit/internal/TestInboxImpl.kt index 2f939eaa..35abd758 100644 --- a/odcsim-testkit/src/main/kotlin/com/atlarge/odcsim/testkit/internal/TestInboxImpl.kt +++ b/odcsim-testkit/src/main/kotlin/com/atlarge/odcsim/testkit/internal/TestInboxImpl.kt @@ -84,9 +84,11 @@ internal class TestInboxImpl(private val owner: BehaviorTestKitImpl<*>, * @property time The point in time to deliver the message. * @property message The message to wrap. */ - private inner class EnvelopeImpl(val id: Long, - override val time: Instant, - override val message: T) : Envelope { + private inner class EnvelopeImpl( + val id: Long, + override val time: Instant, + override val message: T + ) : Envelope { override fun compareTo(other: Envelope<*>): Int { val cmp = super.compareTo(other) return if (cmp == 0 && other is EnvelopeImpl) @@ -95,5 +97,4 @@ internal class TestInboxImpl(private val owner: BehaviorTestKitImpl<*>, cmp } } - } -- cgit v1.2.3