mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Remove unnecessary method
This commit is contained in:
parent
c7f9c9d201
commit
b04a314478
@ -104,7 +104,6 @@ public class OwnCloudClient extends HttpClient {
|
|||||||
setRequestId(method);
|
setRequestId(method);
|
||||||
|
|
||||||
status = method.execute();
|
status = method.execute();
|
||||||
checkFirstRedirection(method);
|
|
||||||
|
|
||||||
if (mFollowRedirects) {
|
if (mFollowRedirects) {
|
||||||
status = followRedirection(method).getLastStatus();
|
status = followRedirection(method).getLastStatus();
|
||||||
@ -119,10 +118,6 @@ public class OwnCloudClient extends HttpClient {
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkFirstRedirection(HttpBaseMethod method) {
|
|
||||||
final String location = method.getResponseHeader(HttpConstants.LOCATION_HEADER_LOWER);
|
|
||||||
}
|
|
||||||
|
|
||||||
private int executeRedirectedHttpMethod(HttpBaseMethod method) throws Exception {
|
private int executeRedirectedHttpMethod(HttpBaseMethod method) throws Exception {
|
||||||
boolean repeatWithFreshCredentials;
|
boolean repeatWithFreshCredentials;
|
||||||
int repeatCounter = 0;
|
int repeatCounter = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user