hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r546613 - /jakarta/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestNIOHttp.java
Date Tue, 12 Jun 2007 19:40:52 GMT
Author: olegk
Date: Tue Jun 12 12:40:51 2007
New Revision: 546613

URL: http://svn.apache.org/viewvc?view=rev&rev=546613
Log:
Minor bug fix

Modified:
    jakarta/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestNIOHttp.java

Modified: jakarta/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestNIOHttp.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestNIOHttp.java?view=diff&rev=546613&r1=546612&r2=546613
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestNIOHttp.java
(original)
+++ jakarta/httpcomponents/httpcore/trunk/module-nio/src/test/java/org/apache/http/nio/protocol/TestNIOHttp.java
Tue Jun 12 12:40:51 2007
@@ -1189,9 +1189,9 @@
 
             public HttpRequest submitRequest(final HttpContext context) {
                 int i = ((Integer) context.getAttribute("REQ-COUNT")).intValue();
-                BasicHttpEntityEnclosingRequest request = null;
+                BasicHttpRequest request = null;
                 if (i < reqNo) {
-                    request = new BasicHttpEntityEnclosingRequest(method[0], "/?" + i);
+                    request = new BasicHttpRequest(method[0], "/?" + i);
                     context.setAttribute("REQ-COUNT", new Integer(i + 1));
                 }
                 return request;



Mime
View raw message