Skip to content

Commit 52f63ce

Browse files
committed
detekt
1 parent 3b2f7e8 commit 52f63ce

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

krpc/krpc-client/src/commonMain/kotlin/kotlinx/rpc/krpc/client/KrpcClient.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ package kotlinx.rpc.krpc.client
77
import kotlinx.atomicfu.atomic
88
import kotlinx.coroutines.*
99
import kotlinx.coroutines.channels.Channel
10-
import kotlinx.coroutines.channels.ClosedReceiveChannelException
1110
import kotlinx.coroutines.flow.Flow
1211
import kotlinx.coroutines.flow.flow
1312
import kotlinx.rpc.RpcCall

krpc/krpc-test/src/commonMain/kotlin/kotlinx/rpc/krpc/test/KrpcTransportTestBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ abstract class KrpcTransportTestBase {
473473
}
474474

475475
@Test
476-
@Suppress("detekt.TooGenericExceptionCaught")
476+
@Suppress("detekt.TooGenericExceptionCaught", "detekt.ThrowsCount")
477477
fun testExceptionSerializationAndPropagating() {
478478
runTest {
479479
try {

krpc/krpc-test/src/commonTest/kotlin/kotlinx/rpc/krpc/test/LocalTransportTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
package kotlinx.rpc.krpc.test
66

7-
import kotlinx.coroutines.test.TestResult
8-
import kotlinx.coroutines.test.runTest
97
import kotlinx.rpc.krpc.KrpcTransport
108
import kotlinx.rpc.krpc.serialization.KrpcSerialFormatConfiguration
119
import kotlinx.rpc.krpc.serialization.cbor.cbor

krpc/krpc-test/src/jvmTest/kotlin/kotlinx/rpc/krpc/test/cancellation/CancellationTest.jvm.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
package kotlinx.rpc.krpc.test.cancellation
66

7+
@Suppress("detekt.ExplicitGarbageCollectionCall")
78
actual fun hintGC() {
89
System.gc()
910
}

0 commit comments

Comments
 (0)