mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Clean up some code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
7ac07ab08a
commit
a380b3bbcf
1 changed files with 6 additions and 6 deletions
|
@ -190,7 +190,7 @@ public class FilesSyncHelper {
|
||||||
|
|
||||||
public static void restartJobsIfNeeded() {
|
public static void restartJobsIfNeeded() {
|
||||||
final Context context = MainApp.getAppContext();
|
final Context context = MainApp.getAppContext();
|
||||||
boolean restartedInCurrentIteration = false;
|
boolean restartedInCurrentIteration;
|
||||||
|
|
||||||
FileUploader.UploadRequester uploadRequester = new FileUploader.UploadRequester();
|
FileUploader.UploadRequester uploadRequester = new FileUploader.UploadRequester();
|
||||||
|
|
||||||
|
@ -261,7 +261,6 @@ public class FilesSyncHelper {
|
||||||
.build()
|
.build()
|
||||||
.schedule();
|
.schedule();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if (accountExists && fileExists) {
|
if (accountExists && fileExists) {
|
||||||
uploadRequester.retry(context, failedUpload);
|
uploadRequester.retry(context, failedUpload);
|
||||||
|
@ -272,3 +271,4 @@ public class FilesSyncHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue