From 1d87125688efcd34b04457c39f00b913f502c08d Mon Sep 17 00:00:00 2001 From: "Gerlach, Winfried" Date: Mon, 28 Jul 2025 18:47:02 +0200 Subject: [PATCH] fix ContentType JavaDoc --- .../src/main/java/org/apache/hc/core5/http/ContentType.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/ContentType.java b/httpcore5/src/main/java/org/apache/hc/core5/http/ContentType.java index b7abdff1d9..31566b5191 100644 --- a/httpcore5/src/main/java/org/apache/hc/core5/http/ContentType.java +++ b/httpcore5/src/main/java/org/apache/hc/core5/http/ContentType.java @@ -423,10 +423,8 @@ public static ContentType parse(final CharSequence s) throws UnsupportedCharsetE * * @param s text * @return content type {@code Content-Type} value or null. - * @throws UnsupportedCharsetException Thrown when the named charset is not available in - * this instance of the Java virtual machine */ - public static ContentType parseLenient(final CharSequence s) throws UnsupportedCharsetException { + public static ContentType parseLenient(final CharSequence s) { return parse(s, false); }