hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r608038 - /httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicHttpEntityEnclosingRequest.java
Date Wed, 02 Jan 2008 08:31:32 GMT
Author: rolandw
Date: Wed Jan  2 00:31:30 2008
New Revision: 608038

URL: http://svn.apache.org/viewvc?rev=608038&view=rev
Log:
allow ProtocolVersion instead of HttpVersion

Modified:
    httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicHttpEntityEnclosingRequest.java

Modified: httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicHttpEntityEnclosingRequest.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicHttpEntityEnclosingRequest.java?rev=608038&r1=608037&r2=608038&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicHttpEntityEnclosingRequest.java
(original)
+++ httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/message/BasicHttpEntityEnclosingRequest.java
Wed Jan  2 00:31:30 2008
@@ -34,7 +34,7 @@
 import org.apache.http.Header;
 import org.apache.http.HttpEntity;
 import org.apache.http.HttpEntityEnclosingRequest;
-import org.apache.http.HttpVersion;
+import org.apache.http.ProtocolVersion;
 import org.apache.http.RequestLine;
 import org.apache.http.protocol.HTTP;
 
@@ -50,14 +50,14 @@
 public class BasicHttpEntityEnclosingRequest 
             extends BasicHttpRequest implements HttpEntityEnclosingRequest {
     
-    private HttpEntity entity = null;
+    private HttpEntity entity;
     
     public BasicHttpEntityEnclosingRequest(final String method, final String uri) {
         super(method, uri);
     }
 
     public BasicHttpEntityEnclosingRequest(final String method, final String uri, 
-            final HttpVersion ver) {
+            final ProtocolVersion ver) {
         this(new BasicRequestLine(method, uri, ver));
     }
 



Mime
View raw message