From 1f418c07bd46018e20db05e91f803e92ce2eb6e9 Mon Sep 17 00:00:00 2001 From: Matas Lauzadis Date: Tue, 17 Dec 2024 12:48:11 -0500 Subject: [PATCH] Not KDocs --- .../jvm/src/aws/smithy/kotlin/runtime/content/ByteStreamJVM.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/content/ByteStreamJVM.kt b/runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/content/ByteStreamJVM.kt index 6a7c2a8be..5647ac15a 100644 --- a/runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/content/ByteStreamJVM.kt +++ b/runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/content/ByteStreamJVM.kt @@ -126,7 +126,7 @@ public fun InputStream.asByteStream(contentLength: Long? = null): ByteStream.Sou reset() mark(contentLength.toInt()) return object : SdkSource by source() { - /** + /* * This is a no-op close to prevent body hashing from closing the underlying InputStream, which causes * `IOException: Stream closed` on subsequent reads. Consider making [ByteStream.ChannelStream]/[ByteStream.SourceStream] * (or possibly even [ByteStream] itself) implement [Closeable] to better handle closing streams.