White noise

This commit is contained in:
Francesco Chicchiriccò 2014-07-13 15:17:27 +02:00
parent f1f6491a56
commit d9c6b08f7d
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public class AndroidHttpClientFactory extends AbstractHttpClientFactory {
private static final long serialVersionUID = -5224104561624556177L; private static final long serialVersionUID = -5224104561624556177L;
@Override @Override
public HttpClient create(final HttpMethod method, final URI uri) { public AndroidHttpClient create(final HttpMethod method, final URI uri) {
return AndroidHttpClient.newInstance(USER_AGENT); return AndroidHttpClient.newInstance(USER_AGENT);
} }

View File

@ -70,7 +70,7 @@ public class ProxyWrapperHttpClientFactory implements HttpClientFactory {
@Override @Override
public HttpClient create(final HttpMethod method, final URI uri) { public HttpClient create(final HttpMethod method, final URI uri) {
// Use wrapped factory to obtain an httpclient instance for given method and uri // Use wrapped factory to obtain an httpclient instance for given method and uri
final DefaultHttpClient httpclient = (DefaultHttpClient) wrapped.create(method, uri); final DefaultHttpClient httpclient = wrapped.create(method, uri);
final HttpHost proxyHost = new HttpHost(proxy.getHost(), proxy.getPort()); final HttpHost proxyHost = new HttpHost(proxy.getHost(), proxy.getPort());