diff --git a/src/main/java/com/owncloud/android/files/services/FileUploader.java b/src/main/java/com/owncloud/android/files/services/FileUploader.java index ec4f4de86a..2bde8d09f4 100644 --- a/src/main/java/com/owncloud/android/files/services/FileUploader.java +++ b/src/main/java/com/owncloud/android/files/services/FileUploader.java @@ -374,7 +374,7 @@ public class FileUploader extends Service boolean accountMatch; for ( OCUpload failedUpload: failedUploads) { accountMatch = (account == null || account.name.equals(failedUpload.getAccountName())); - resultMatch = ((uploadResult == null || uploadResult.equals(failedUpload.getLastResult())))); + resultMatch = ((uploadResult == null || uploadResult.equals(failedUpload.getLastResult()))); if (accountMatch && resultMatch) { if (currentAccount == null || !currentAccount.name.equals(failedUpload.getAccountName())) {