mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 06:51:55 +03:00
no need to return result based on code
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
1d05ba6526
commit
455d196b68
1 changed files with 0 additions and 7 deletions
|
@ -289,13 +289,6 @@ public class RefreshFolderOperation extends RemoteOperation {
|
|||
if (result.getCode() == ResultCode.FILE_NOT_FOUND) {
|
||||
removeLocalFolder();
|
||||
}
|
||||
if (result.getCode() == ResultCode.MAINTENANCE_MODE) {
|
||||
return result;
|
||||
}
|
||||
if (result.getCode() == ResultCode.HOST_NOT_AVAILABLE ||
|
||||
result.getCode() == ResultCode.NO_NETWORK_CONNECTION) {
|
||||
return result;
|
||||
}
|
||||
if (result.isException()) {
|
||||
Log_OC.e(TAG, "Checked " + mAccount.name + remotePath + " : " +
|
||||
result.getLogMessage(), result.getException());
|
||||
|
|
Loading…
Reference in a new issue