diff --git a/runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/util/JMESPathJVM.kt b/runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/util/JMESPathJVM.kt deleted file mode 100644 index 72ae3541b..000000000 --- a/runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/util/JMESPathJVM.kt +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ - -package aws.smithy.kotlin.runtime.util - -import aws.smithy.kotlin.runtime.InternalApi - -@InternalApi -@JvmName("noOpUnnestedCollection") -public actual inline fun Collection.flattenIfPossible(): Collection = this - -@InternalApi -@JvmName("flattenNestedCollection") -public actual inline fun Collection>.flattenIfPossible(): Collection = flatten() diff --git a/runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/util/JMESPathNative.kt b/runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/util/JMESPathNative.kt deleted file mode 100644 index 0ab75448b..000000000 --- a/runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/util/JMESPathNative.kt +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ - -package aws.smithy.kotlin.runtime.util - -import aws.smithy.kotlin.runtime.InternalApi - -@InternalApi -public actual inline fun Collection.flattenIfPossible(): Collection = this - -@InternalApi -public actual inline fun Collection>.flattenIfPossible(): Collection = flatten()