hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r159909 - in jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl: DefaultEntityGenerator.java EntityGenerator.java
Date Sun, 03 Apr 2005 10:35:03 GMT
Author: olegk
Date: Sun Apr  3 03:34:59 2005
New Revision: 159909

URL: http://svn.apache.org/viewcvs?view=rev&rev=159909
Log:
#generateEntity method renamed to #generate

Modified:
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java
    jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java?view=diff&r1=159908&r2=159909
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/DefaultEntityGenerator.java
Sun Apr  3 03:34:59 2005
@@ -65,7 +65,7 @@
     private static final String CHUNKED_ENCODING = "chunked";
     private static final String IDENTITY_ENCODING = "identity";
     
-    public DefaultEntityGenerator(final HttpParams params) {
+    public DefaultEntityGenerator() {
         super();
     }
 
@@ -80,7 +80,7 @@
         }
     }
     
-    public HttpMutableEntity generateEntity(
+    public HttpMutableEntity generate(
             final HttpDataReceiver datareceiver,
             final HttpMessage message) throws HttpException, IOException {
         if (datareceiver == null) {

Modified: jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java?view=diff&r1=159908&r2=159909
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/java/org/apache/http/impl/EntityGenerator.java
Sun Apr  3 03:34:59 2005
@@ -47,7 +47,7 @@
  */
 public interface EntityGenerator {
 
-    HttpMutableEntity generateEntity(
+    HttpMutableEntity generate(
             HttpDataReceiver datareceiver,
             HttpMessage message) throws HttpException, IOException;
             



Mime
View raw message