From c698a2191ac869ceb45bc447dba22df0d7ca68bf Mon Sep 17 00:00:00 2001 From: Jonas Mayer Date: Thu, 7 Dec 2023 17:14:06 +0100 Subject: [PATCH] Fix spotbugs Signed-off-by: Jonas Mayer --- .../java/com/owncloud/android/files/services/FileUploader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/owncloud/android/files/services/FileUploader.java b/app/src/main/java/com/owncloud/android/files/services/FileUploader.java index eff0050742..59244f3311 100644 --- a/app/src/main/java/com/owncloud/android/files/services/FileUploader.java +++ b/app/src/main/java/com/owncloud/android/files/services/FileUploader.java @@ -1262,6 +1262,7 @@ public class FileUploader extends Service } } + @SuppressFBWarnings("NP") public boolean isUploadingNow(OCUpload upload) { if (useFilesUploadWorker(getApplicationContext())){ UploadFileOperation currentUploadFileOperation = FilesUploadWorker.Companion.getCurrentUploadFileOperation();