Skip to content

Commit a5b00b3

Browse files
winfriedgerlachOleg Kalnichevski
authored andcommitted
fix ContentType JavaDoc
1 parent f6eaeeb commit a5b00b3

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
@@ -412,10 +412,8 @@ public static ContentType parse(final CharSequence s) throws UnsupportedCharsetE
412412
*
413413
* @param s text
414414
* @return content type {@code Content-Type} value or null.
415-
* @throws UnsupportedCharsetException Thrown when the named charset is not available in
416-
* this instance of the Java virtual machine
417415
*/
418-
public static ContentType parseLenient(final CharSequence s) throws UnsupportedCharsetException {
416+
public static ContentType parseLenient(final CharSequence s) {
419417
return parse(s, false);
420418
}
421419

0 commit comments

Comments
 (0)