@@ -1304,6 +1304,7 @@ public JsonParser createParser(File src) throws IOException {
13041304 * @since 2.11
13051305 *
13061306 * @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
1307+ * Instead, use equivalent methods that take InputStream inputs instead.
13071308 */
13081309 @ Deprecated // @since 2.20
13091310 public JsonParser createParser (URL src ) throws IOException {
@@ -3355,6 +3356,7 @@ public JsonNode readTree(File file) throws IOException
33553356 * to create {@link java.io.InputStream} separately.
33563357 *
33573358 * @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
3359+ * Instead, use equivalent methods that take InputStream inputs instead.
33583360 */
33593361 @ Deprecated // @since 2.20
33603362 public JsonNode readTree (URL source ) throws IOException
@@ -3825,6 +3827,7 @@ public <T> T readValue(File src, JavaType valueType)
38253827 * expected for result type (or has other mismatch issues)
38263828 *
38273829 * @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
3830+ * Instead, use equivalent methods that take InputStream inputs instead.
38283831 */
38293832 @ Deprecated // @since 2.20
38303833 @ SuppressWarnings ("unchecked" )
@@ -3840,6 +3843,7 @@ public <T> T readValue(URL src, Class<T> valueType)
38403843 * Same as {@link #readValue(java.net.URL, Class)} except that target specified by {@link TypeReference}.
38413844 *
38423845 * @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
3846+ * Instead, use equivalent methods that take InputStream inputs instead.
38433847 */
38443848 @ Deprecated // @since 2.20
38453849 @ SuppressWarnings ({ "unchecked" })
@@ -3855,6 +3859,7 @@ public <T> T readValue(URL src, TypeReference<T> valueTypeRef)
38553859 * Same as {@link #readValue(java.net.URL, Class)} except that target specified by {@link JavaType}.
38563860 *
38573861 * @deprecated since 2.20 deprecated as it calls {@link JsonFactory#createParser(URL)}.
3862+ * Instead, use equivalent methods that take InputStream inputs instead.
38583863 */
38593864 @ Deprecated // @since 2.20
38603865 @ SuppressWarnings ("unchecked" )
0 commit comments