projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OC-1508: App crashes when changing the orientation
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
operations
/
RemoveFileOperation.java
diff --git
a/src/com/owncloud/android/operations/RemoveFileOperation.java
b/src/com/owncloud/android/operations/RemoveFileOperation.java
index
8348b72
..
9dabfaf
100644
(file)
--- a/
src/com/owncloud/android/operations/RemoveFileOperation.java
+++ b/
src/com/owncloud/android/operations/RemoveFileOperation.java
@@
-88,7
+88,7
@@
public class RemoveFileOperation extends RemoteOperation {
}
}
delete.getResponseBodyAsString(); // exhaust the response, although not interesting
}
}
delete.getResponseBodyAsString(); // exhaust the response, although not interesting
- result = new RemoteOperationResult((delete.succeeded() || status == HttpStatus.SC_NOT_FOUND), status);
+ 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) {
Log_OC.i(TAG, "Remove " + mFileToRemove.getRemotePath() + ": " + result.getLogMessage());
} catch (Exception e) {