From 238e94dae7cd734aa419d887fcae6228728bc40b Mon Sep 17 00:00:00 2001 From: Him188 Date: Sat, 9 May 2020 15:09:01 +0800 Subject: [PATCH] Cleanup --- .../src/jvmMain/kotlin/net/mamoe/mirai/utils/ExternalImageJvm.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/ExternalImageJvm.kt b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/ExternalImageJvm.kt index 2eaa943dc..52ce17c6c 100644 --- a/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/ExternalImageJvm.kt +++ b/mirai-core/src/jvmMain/kotlin/net/mamoe/mirai/utils/ExternalImageJvm.kt @@ -54,7 +54,6 @@ fun URL.toExternalImage(): ExternalImage = ExternalImage(DeferredReusableInput(t * 将 [InputStream] 委托为 [ExternalImage]. * 只会在上传图片时才读取 [InputStream] 的内容. 具体行为取决于相关 [Bot] 的 [FileCacheStrategy] */ -@JvmName("toExternalImage") fun InputStream.toExternalImage(): ExternalImage = ExternalImage(DeferredReusableInput(this, null)) /**