1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 07:56:19 +00:00

Remove unnecessary method

This commit is contained in:
davigonz 2020-02-05 08:49:24 +01:00
parent c7f9c9d201
commit b04a314478

View File

@ -104,7 +104,6 @@ public class OwnCloudClient extends HttpClient {
setRequestId(method);
status = method.execute();
checkFirstRedirection(method);
if (mFollowRedirects) {
status = followRedirection(method).getLastStatus();
@ -119,10 +118,6 @@ public class OwnCloudClient extends HttpClient {
return status;
}
private void checkFirstRedirection(HttpBaseMethod method) {
final String location = method.getResponseHeader(HttpConstants.LOCATION_HEADER_LOWER);
}
private int executeRedirectedHttpMethod(HttpBaseMethod method) throws Exception {
boolean repeatWithFreshCredentials;
int repeatCounter = 0;