From: David A. Velasco Date: Wed, 27 Nov 2013 08:21:20 +0000 (+0100) Subject: Removed unneeded comments X-Git-Tag: oc-android-1.5.5~118^2~1 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/35602ae6689bd8a080156466a9d7869ff57e16b5?ds=inline;hp=--cc Removed unneeded comments --- 35602ae6689bd8a080156466a9d7869ff57e16b5 diff --git a/src/com/owncloud/android/operations/RemoveFileOperation.java b/src/com/owncloud/android/operations/RemoveFileOperation.java index 77c00f31..0ab8ac3c 100644 --- a/src/com/owncloud/android/operations/RemoveFileOperation.java +++ b/src/com/owncloud/android/operations/RemoveFileOperation.java @@ -79,24 +79,6 @@ public class RemoveFileOperation extends RemoteOperation { mDataStorageManager.removeFile(mFileToRemove, true, mDeleteLocalCopy); } -// try { -// delete = new DeleteMethod(client.getBaseUri() + WebdavUtils.encodePath(mFileToRemove.getRemotePath())); -// int status = client.executeMethod(delete, REMOVE_READ_TIMEOUT, REMOVE_CONNECTION_TIMEOUT); -// if (delete.succeeded() || status == HttpStatus.SC_NOT_FOUND) { -// mDataStorageManager.removeFile(mFileToRemove, true, mDeleteLocalCopy); -// } -// delete.getResponseBodyAsString(); // exhaust the response, although not interesting -// result = new RemoteOperationResult((delete.succeeded() || status == HttpStatus.SC_NOT_FOUND), status, delete.getResponseHeaders()); -// Log_OC.i(TAG, "Remove " + mFileToRemove.getRemotePath() + ": " + result.getLogMessage()); -// -// } catch (Exception e) { -// result = new RemoteOperationResult(e); -// Log_OC.e(TAG, "Remove " + mFileToRemove.getRemotePath() + ": " + result.getLogMessage(), e); -// -// } finally { -// if (delete != null) -// delete.releaseConnection(); -// } return result; }