Skip to content

Commit 78e0311

Browse files
winfriedgerlachok2c
authored andcommitted
fix ContentType JavaDoc
1 parent d7899b8 commit 78e0311

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

httpcore5/src/main/java/org/apache/hc/core5/http/ContentType.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,8 @@ public static ContentType parse(final CharSequence s) throws UnsupportedCharsetE
423423
*
424424
* @param s text
425425
* @return content type {@code Content-Type} value or null.
426-
* @throws UnsupportedCharsetException Thrown when the named charset is not available in
427-
* this instance of the Java virtual machine
428426
*/
429-
public static ContentType parseLenient(final CharSequence s) throws UnsupportedCharsetException {
427+
public static ContentType parseLenient(final CharSequence s) {
430428
return parse(s, false);
431429
}
432430

0 commit comments

Comments
 (0)