Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit c5ac95d

Browse files
authored
Match 'Codec' and 'StreamCodec' map method names
Match `Codec` and `StreamCodec` map method names
2 parents 8ff6059 + 79f6391 commit c5ac95d

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/io/github/dockyardmc/tide/codec

1 file changed

+1
-1
lines changed

src/main/kotlin/io/github/dockyardmc/tide/codec/Codec.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface Codec<T> {
1616
return ListCodec<T>(this)
1717
}
1818

19-
fun <V> mapValue(valueCodec: Codec<V>): Codec<Map<T, V>> {
19+
fun <V> mapTo(valueCodec: Codec<V>): Codec<Map<T, V>> {
2020
return MapCodec<T, V>(this, valueCodec)
2121
}
2222

0 commit comments

Comments
 (0)