зеркало из https://github.com/nextcloud/android.git
combine if conditions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
Родитель
9576ce191c
Коммит
4199cfa46f
|
@ -236,11 +236,7 @@ public class RefreshFolderOperation extends RemoteOperation {
|
|||
mConflictsFound = 0;
|
||||
mForgottenLocalFiles.clear();
|
||||
|
||||
if (mLocalFolder == null) {
|
||||
return new RemoteOperationResult<>(ResultCode.LOCAL_FILE_NOT_FOUND);
|
||||
}
|
||||
|
||||
if (mLocalFolder.getRemotePath() == null) {
|
||||
if (mLocalFolder == null || mLocalFolder.getRemotePath() == null) {
|
||||
return new RemoteOperationResult<>(ResultCode.LOCAL_FILE_NOT_FOUND);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче