hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r417842 - /jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java
Date Wed, 28 Jun 2006 18:46:32 GMT
Author: olegk
Date: Wed Jun 28 11:46:32 2006
New Revision: 417842

URL: http://svn.apache.org/viewvc?rev=417842&view=rev
Log:
Fixed incorrect exception message

Modified:
    jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java

Modified: jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java?rev=417842&r1=417841&r2=417842&view=diff
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java
(original)
+++ jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/protocol/ResponseConnControl.java
Wed Jun 28 11:46:32 2006
@@ -59,7 +59,7 @@
     public void process(final HttpResponse response, final HttpContext context) 
             throws HttpException, IOException {
         if (response == null) {
-            throw new IllegalArgumentException("HTTP request may not be null");
+            throw new IllegalArgumentException("HTTP response may not be null");
         }
         if (context == null) {
             throw new IllegalArgumentException("HTTP context may not be null");



Mime
View raw message