Clean up some code

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-07-07 20:43:07 +02:00 committed by AndyScherzinger
parent 7ac07ab08a
commit a380b3bbcf
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -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 {
} }
} }
} }
}