[PATCH 3 of 5] Renamed setEncoding to setOutEncoding

Wald Commits scm-commit at wald.intevation.org
Wed Sep 25 10:29:56 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1380098334 -7200
# Node ID fcbfc6c597b1e4641e67c5bd1a479655553b7e3c
# Parent  f5eb5131aef0792673777fd2c7aa49fc4bc08b10
Renamed setEncoding to setOutEncoding.

diff -r f5eb5131aef0 -r fcbfc6c597b1 src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java
--- a/src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java	Wed Sep 25 10:31:18 2013 +0200
+++ b/src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java	Wed Sep 25 10:38:54 2013 +0200
@@ -28,7 +28,7 @@
     ArtifactFactory[] getArtifactFactories()
     throws ConnectionException;
 
-    public void setEncoding(Charset charset);
+    public void setOutEncoding(Charset charset);
 
 
     /*******************************
diff -r f5eb5131aef0 -r fcbfc6c597b1 src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java
--- a/src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java	Wed Sep 25 10:31:18 2013 +0200
+++ b/src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java	Wed Sep 25 10:38:54 2013 +0200
@@ -98,7 +98,7 @@
 
     public HttpClientImpl(String serverUrl) {
         this.serverUrl = serverUrl;
-        setEncoding(null);
+        setOutEncoding(null);
     }
 
 
@@ -112,7 +112,7 @@
      * sensible default (UTF-8) and allow easier integration
      * e.g. in proprietary products.
      */
-    public void setEncoding(Charset charset) {
+    public void setOutEncoding(Charset charset) {
         this.charset = charset;
     }
 


More information about the Dive4elements-commits mailing list