diff --git a/src/main/kotlin/tools/jackson/module/kotlin/Extensions.kt b/src/main/kotlin/tools/jackson/module/kotlin/Extensions.kt index 2c65c333..b1b2d206 100644 --- a/src/main/kotlin/tools/jackson/module/kotlin/Extensions.kt +++ b/src/main/kotlin/tools/jackson/module/kotlin/Extensions.kt @@ -101,13 +101,6 @@ inline fun ObjectMapper.readValues(jp: JsonParser): MappingIterator< * due to an incorrect customization to [ObjectMapper]. */ inline fun ObjectMapper.readValue(src: File): T = readValue(src, jacksonTypeRef()).checkTypeMismatch() -/** - * Shorthand for [ObjectMapper.readValue]. - * @throws DatabindException Especially if [T] is non-null and the value read is null. - * Other cases where the read value is of a different type than [T] - * due to an incorrect customization to [ObjectMapper]. - */ -inline fun ObjectMapper.readValue(src: URL): T = readValue(src, jacksonTypeRef()).checkTypeMismatch() /** * Shorthand for [ObjectMapper.readValue]. * @throws DatabindException Especially if [T] is non-null and the value read is null.