Skip to content

Commit 5f9b64e

Browse files
committed
address pr feedbacks
1 parent 951e07e commit 5f9b64e

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

runtime/runtime-core/api/runtime-core.api

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,6 @@ public final class aws/smithy/kotlin/runtime/hashing/Md5 : aws/smithy/kotlin/run
725725
public fun <init> ()V
726726
public fun digest ()[B
727727
public fun reset ()V
728-
public final fun update (B)V
729728
public fun update ([BII)V
730729
}
731730

runtime/runtime-core/common/src/aws/smithy/kotlin/runtime/hashing/Md5.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ public abstract class Md5Base : HashFunction {
1818
@InternalApi
1919
public expect class Md5() : Md5Base {
2020
override fun update(input: ByteArray, offset: Int, length: Int)
21-
public fun update(input: Byte)
2221
override fun digest(): ByteArray
2322
override fun reset()
2423
override val blockSizeBytes: Int

runtime/runtime-core/jvm/src/aws/smithy/kotlin/runtime/hashing/Md5JVM.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import java.security.MessageDigest
1111
public actual class Md5 : Md5Base() {
1212
private val md = MessageDigest.getInstance("MD5")
1313
actual override fun update(input: ByteArray, offset: Int, length: Int): Unit = md.update(input, offset, length)
14-
public actual fun update(input: Byte): Unit = md.update(input)
1514
actual override fun digest(): ByteArray = md.digest()
1615
actual override fun reset(): Unit = md.reset()
1716
}

runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/hashing/Md5Native.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ public actual class Md5 actual constructor() : Md5Base() {
1515
TODO("Not yet implemented")
1616
}
1717

18-
public actual fun update(input: Byte) {
19-
TODO("Not yet implemented")
20-
}
21-
2218
actual override fun digest(): ByteArray {
2319
TODO("Not yet implemented")
2420
}

0 commit comments

Comments
 (0)