From 8ee366460178815adf8b23719f35d1aad2bd0d4b Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 2 Oct 2020 22:58:54 +0200 Subject: [PATCH] codacy: Avoid unused private fields Signed-off-by: Andy Scherzinger --- .../com/nextcloud/client/integrations/deck/DeckApiImpl.java | 2 -- .../com/owncloud/android/datamodel/FileDataStorageManager.java | 1 - 2 files changed, 3 deletions(-) diff --git a/src/main/java/com/nextcloud/client/integrations/deck/DeckApiImpl.java b/src/main/java/com/nextcloud/client/integrations/deck/DeckApiImpl.java index 55702054f8..6b4d0456a7 100644 --- a/src/main/java/com/nextcloud/client/integrations/deck/DeckApiImpl.java +++ b/src/main/java/com/nextcloud/client/integrations/deck/DeckApiImpl.java @@ -33,8 +33,6 @@ import androidx.annotation.NonNull; public class DeckApiImpl implements DeckApi { - private static final String TAG = DeckApiImpl.class.getSimpleName(); - static final String APP_NAME = "deck"; static final String[] DECK_APP_PACKAGES = new String[] { "it.niedermann.nextcloud.deck", diff --git a/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java b/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java index 2f265e6cd2..2a05c7c879 100644 --- a/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java +++ b/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java @@ -75,7 +75,6 @@ public class FileDataStorageManager { private static final String TAG = FileDataStorageManager.class.getSimpleName(); private static final String AND = " = ? AND "; - private static final String FAILED_TO_UPDATE_MSG = "Fail to update file to database "; private static final String FAILED_TO_INSERT_MSG = "Fail to insert insert file to database "; private static final String SENDING_TO_FILECONTENTPROVIDER_MSG = "Sending %d operations to FileContentProvider"; private static final String EXCEPTION_MSG = "Exception in batch of operations ";