White noise
This commit is contained in:
parent
f1f6491a56
commit
d9c6b08f7d
|
@ -29,7 +29,7 @@ public class AndroidHttpClientFactory extends AbstractHttpClientFactory {
|
|||
private static final long serialVersionUID = -5224104561624556177L;
|
||||
|
||||
@Override
|
||||
public HttpClient create(final HttpMethod method, final URI uri) {
|
||||
public AndroidHttpClient create(final HttpMethod method, final URI uri) {
|
||||
return AndroidHttpClient.newInstance(USER_AGENT);
|
||||
}
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ public class ProxyWrapperHttpClientFactory implements HttpClientFactory {
|
|||
@Override
|
||||
public HttpClient create(final HttpMethod method, final URI 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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue