Skip to content

Commit 5a7bf16

Browse files
chore: rebuild project due to codegen change (#43)
1 parent a175931 commit 5a7bf16

File tree

1 file changed

+0
-14
lines changed
  • onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core

1 file changed

+0
-14
lines changed

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/core/Utils.kt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,4 @@ internal fun <K, V> ListMultimap<K, V>.toUnmodifiable(): ListMultimap<K, V> {
3939
return Multimaps.unmodifiableListMultimap(this)
4040
}
4141

42-
@JvmSynthetic
43-
internal fun ListMultimap<String, String>.getRequiredHeader(header: String): String {
44-
val value =
45-
entries()
46-
.stream()
47-
.filter { entry -> entry.key.equals(header, ignoreCase = true) }
48-
.map { entry -> entry.value }
49-
.findFirst()
50-
if (!value.isPresent) {
51-
throw OnebusawaySdkInvalidDataException("Could not find $header header")
52-
}
53-
return value.get()
54-
}
55-
5642
internal interface Enum

0 commit comments

Comments
 (0)