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
This commit is contained in:
parent
8053d153e1
commit
d99e2196d7
|
@ -53,7 +53,7 @@ public class AuthChallengeParser {
|
||||||
private static final BitSet TERMINATORS = TokenParser.INIT_BITSET(BLANK, EQUAL_CHAR, COMMA_CHAR);
|
private static final BitSet TERMINATORS = TokenParser.INIT_BITSET(BLANK, EQUAL_CHAR, COMMA_CHAR);
|
||||||
private static final BitSet DELIMITER = TokenParser.INIT_BITSET(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);
|
tokenParser.skipWhiteSpace(buffer, cursor);
|
||||||
final String token = tokenParser.parseToken(buffer, cursor, TERMINATORS);
|
final String token = tokenParser.parseToken(buffer, cursor, TERMINATORS);
|
||||||
|
|
Loading…
Reference in New Issue