Skip to content

Commit

Permalink
suppress spotbugs
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky committed Apr 17, 2024
1 parent 221e6dd commit 58ec17a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2337,6 +2337,7 @@ public String getEncryptedRemotePath(String decryptedRemotePath) {
return null;
}

@SuppressFBWarnings("OCP")
private List<Pair<String, String>> getDecryptedFileNamesAndEncryptedRemotePaths(List<OCFile> fileList) {
List<Pair<String, String>> result = new ArrayList<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

import static com.owncloud.android.datamodel.OCFile.PATH_SEPARATOR;

Expand Down Expand Up @@ -601,6 +602,7 @@ public static Object getDecryptedFolderMetadata(boolean encryptedAncestor,
return metadata;
}

@SuppressFBWarnings("CE")
private static void setMimeTypeAndDecryptedRemotePath(OCFile updatedFile, FileDataStorageManager storageManager, String decryptedFileName, String mimetype) {
OCFile parentFile = storageManager.getFileById(updatedFile.getParentId());

Expand Down

0 comments on commit 58ec17a

Please sign in to comment.