hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1725784 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java
Date Wed, 20 Jan 2016 19:20:48 GMT
Author: ggregory
Date: Wed Jan 20 19:20:48 2016
New Revision: 1725784

URL: http://svn.apache.org/viewvc?rev=1725784&view=rev
Log:
Declared exception is not actually thrown by the method.

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java?rev=1725784&r1=1725783&r2=1725784&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/hc/client5/http/impl/auth/AuthChallengeParser.java
Wed Jan 20 19:20:48 2016
@@ -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);



Mime
View raw message