Mercurial > dive4elements > http-client
changeset 92:fcbfc6c597b1
Renamed setEncoding to setOutEncoding.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 25 Sep 2013 10:38:54 +0200 |
parents | f5eb5131aef0 |
children | 30b7ca3951c7 |
files | src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClient.java src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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); /*******************************
--- 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; }