hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r567357 - /jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
Date Sun, 19 Aug 2007 06:29:57 GMT
Author: rolandw
Date: Sat Aug 18 23:29:56 2007
New Revision: 567357

URL: http://svn.apache.org/viewvc?view=rev&rev=567357
Log:
fixed argument null check

Modified:
    jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java

Modified: jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java?view=diff&rev=567357&r1=567356&r2=567357
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
(original)
+++ jakarta/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
Sat Aug 18 23:29:56 2007
@@ -64,7 +64,7 @@
         if (buffer == null) {
             throw new IllegalArgumentException("Session input buffer may not be null");
         }
-        if (buffer == null) {
+        if (params == null) {
             throw new IllegalArgumentException("HTTP parameters may not be null");
         }
         this.sessionBuffer = buffer;



Mime
View raw message