@@ -1304,6 +1304,7 @@ public JsonParser createParser(File src) throws IOException {
1304
1304
* @since 2.11
1305
1305
*
1306
1306
* @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
1307
+ * Instead, use equivalent methods that take InputStream inputs instead.
1307
1308
*/
1308
1309
@ Deprecated // @since 2.20
1309
1310
public JsonParser createParser (URL src ) throws IOException {
@@ -3355,6 +3356,7 @@ public JsonNode readTree(File file) throws IOException
3355
3356
* to create {@link java.io.InputStream} separately.
3356
3357
*
3357
3358
* @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
3359
+ * Instead, use equivalent methods that take InputStream inputs instead.
3358
3360
*/
3359
3361
@ Deprecated // @since 2.20
3360
3362
public JsonNode readTree (URL source ) throws IOException
@@ -3825,6 +3827,7 @@ public <T> T readValue(File src, JavaType valueType)
3825
3827
* expected for result type (or has other mismatch issues)
3826
3828
*
3827
3829
* @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
3830
+ * Instead, use equivalent methods that take InputStream inputs instead.
3828
3831
*/
3829
3832
@ Deprecated // @since 2.20
3830
3833
@ SuppressWarnings ("unchecked" )
@@ -3840,6 +3843,7 @@ public <T> T readValue(URL src, Class<T> valueType)
3840
3843
* Same as {@link #readValue(java.net.URL, Class)} except that target specified by {@link TypeReference}.
3841
3844
*
3842
3845
* @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
3846
+ * Instead, use equivalent methods that take InputStream inputs instead.
3843
3847
*/
3844
3848
@ Deprecated // @since 2.20
3845
3849
@ SuppressWarnings ({ "unchecked" })
@@ -3855,6 +3859,7 @@ public <T> T readValue(URL src, TypeReference<T> valueTypeRef)
3855
3859
* Same as {@link #readValue(java.net.URL, Class)} except that target specified by {@link JavaType}.
3856
3860
*
3857
3861
* @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
3862
+ * Instead, use equivalent methods that take InputStream inputs instead.
3858
3863
*/
3859
3864
@ Deprecated // @since 2.20
3860
3865
@ SuppressWarnings ("unchecked" )
0 commit comments