Loading src/com/owncloud/android/lib/resources/files/UnlockFileOperation.java +0 −10 Original line number Diff line number Diff line Loading @@ -67,16 +67,6 @@ public class UnlockFileOperation extends RemoteOperation { int status = client.executeMethod(deleteMethod, SYNC_READ_TIMEOUT, SYNC_CONNECTION_TIMEOUT); if (status == HttpStatus.SC_OK) { result = new RemoteOperationResult(true, deleteMethod); } else { result = new RemoteOperationResult(false, deleteMethod); client.exhaustResponse(deleteMethod.getResponseBodyAsStream()); } deleteMethod.addRequestHeader("token", token); int status = client.executeMethod(deleteMethod, SYNC_READ_TIMEOUT, SYNC_CONNECTION_TIMEOUT); result = new RemoteOperationResult(status == HttpStatus.SC_OK, deleteMethod); client.exhaustResponse(deleteMethod.getResponseBodyAsStream()); Loading Loading
src/com/owncloud/android/lib/resources/files/UnlockFileOperation.java +0 −10 Original line number Diff line number Diff line Loading @@ -67,16 +67,6 @@ public class UnlockFileOperation extends RemoteOperation { int status = client.executeMethod(deleteMethod, SYNC_READ_TIMEOUT, SYNC_CONNECTION_TIMEOUT); if (status == HttpStatus.SC_OK) { result = new RemoteOperationResult(true, deleteMethod); } else { result = new RemoteOperationResult(false, deleteMethod); client.exhaustResponse(deleteMethod.getResponseBodyAsStream()); } deleteMethod.addRequestHeader("token", token); int status = client.executeMethod(deleteMethod, SYNC_READ_TIMEOUT, SYNC_CONNECTION_TIMEOUT); result = new RemoteOperationResult(status == HttpStatus.SC_OK, deleteMethod); client.exhaustResponse(deleteMethod.getResponseBodyAsStream()); Loading