From cc102c58c5387a47ec3a28a1d1357bcbe4ba3af6 Mon Sep 17 00:00:00 2001 From: Osip Fatkullin Date: Mon, 28 Oct 2024 14:38:24 +0100 Subject: [PATCH] KTOR-7606 Make Closable implement AutoCloseable (#4414) * Use stdlib `use` extension-function * Update type checks --- .../jvmAndPosix/test/io/ktor/tests/server/cio/CIOEngineTest.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/ktor-server/ktor-server-cio/jvmAndPosix/test/io/ktor/tests/server/cio/CIOEngineTest.kt b/ktor-server/ktor-server-cio/jvmAndPosix/test/io/ktor/tests/server/cio/CIOEngineTest.kt index 51f8f266598..da08b330b05 100644 --- a/ktor-server/ktor-server-cio/jvmAndPosix/test/io/ktor/tests/server/cio/CIOEngineTest.kt +++ b/ktor-server/ktor-server-cio/jvmAndPosix/test/io/ktor/tests/server/cio/CIOEngineTest.kt @@ -2,6 +2,7 @@ * Copyright 2014-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ +// ktlint-disable filename package io.ktor.tests.server.cio import io.ktor.client.statement.*