From 8d2a197ca53d428dd5b70f3a44d18f540f78ec1b Mon Sep 17 00:00:00 2001 From: Ilya Fomichev Date: Sat, 4 Jan 2025 19:06:25 +0500 Subject: [PATCH] add no-op comment --- .../ru/solrudev/ackpine/helpers/AssetFileDescriptorHelpers.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ackpine-runtime/src/main/kotlin/ru/solrudev/ackpine/helpers/AssetFileDescriptorHelpers.kt b/ackpine-runtime/src/main/kotlin/ru/solrudev/ackpine/helpers/AssetFileDescriptorHelpers.kt index 8568d1ad..af29ac80 100644 --- a/ackpine-runtime/src/main/kotlin/ru/solrudev/ackpine/helpers/AssetFileDescriptorHelpers.kt +++ b/ackpine-runtime/src/main/kotlin/ru/solrudev/ackpine/helpers/AssetFileDescriptorHelpers.kt @@ -37,7 +37,7 @@ public inline fun T.use(block: (T) -> R): R { throw throwable } finally { when { - this == null -> {} + this == null -> { /* no-op */ } exception == null -> close() else -> try { close()