From d99e2196d7286e5f7eed035bdb188ddb706c6db8 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Wed, 20 Jan 2016 19:20:48 +0000 Subject: [PATCH] Declared exception is not actually thrown by the method. git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1725784 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/hc/client5/http/impl/auth/AuthChallengeParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java b/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java index 78fbca99e..48468d5aa 100644 --- a/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java +++ b/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java @@ -53,7 +53,7 @@ public class AuthChallengeParser { private static final BitSet TERMINATORS = TokenParser.INIT_BITSET(BLANK, EQUAL_CHAR, COMMA_CHAR); private static final BitSet DELIMITER = TokenParser.INIT_BITSET(COMMA_CHAR); - NameValuePair parseTokenOrParameter(final CharSequence buffer, final ParserCursor cursor) throws ParseException { + NameValuePair parseTokenOrParameter(final CharSequence buffer, final ParserCursor cursor) { tokenParser.skipWhiteSpace(buffer, cursor); final String token = tokenParser.parseToken(buffer, cursor, TERMINATORS);