suppress spotbugs

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2024-04-17 10:42:22 +02:00
parent 58ec17a63f
commit c2530c8cfc
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 2 additions and 0 deletions

View file

@ -1705,6 +1705,7 @@ public class FileDataStorageManager {
}
}
@SuppressFBWarnings("PSC")
public void saveConflict(OCFile ocFile, String etagInConflict) {
ContentValues cv = new ContentValues();
if (!ocFile.isDown()) {

View file

@ -738,6 +738,7 @@ public class RefreshFolderOperation extends RemoteOperation {
}
@NonNull
@SuppressFBWarnings("OCP")
public static Map<String, OCFile> prefillLocalFilesMap(Object metadata, List<OCFile> localFiles) {
Map<String, OCFile> localFilesMap = Maps.newHashMapWithExpectedSize(localFiles.size());