Skip to content

Commit c9c1655

Browse files
authored
Remove ref to ObjectMapper.readValue(URL, type) (wrt databind/5263) (#1027)
1 parent a3a1aec commit c9c1655

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/kotlin/tools/jackson/module/kotlin/Extensions.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,6 @@ inline fun <reified T> ObjectMapper.readValues(jp: JsonParser): MappingIterator<
101101
* due to an incorrect customization to [ObjectMapper].
102102
*/
103103
inline fun <reified T> ObjectMapper.readValue(src: File): T = readValue(src, jacksonTypeRef<T>()).checkTypeMismatch()
104-
/**
105-
* Shorthand for [ObjectMapper.readValue].
106-
* @throws DatabindException Especially if [T] is non-null and the value read is null.
107-
* Other cases where the read value is of a different type than [T]
108-
* due to an incorrect customization to [ObjectMapper].
109-
*/
110-
inline fun <reified T> ObjectMapper.readValue(src: URL): T = readValue(src, jacksonTypeRef<T>()).checkTypeMismatch()
111104
/**
112105
* Shorthand for [ObjectMapper.readValue].
113106
* @throws DatabindException Especially if [T] is non-null and the value read is null.

0 commit comments

Comments
 (0)