From 2de1f7e5d9c067f6b931c2c6714d055b623d377c Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Wed, 10 Apr 2019 08:46:47 +0200 Subject: [PATCH] codacy: Avoid unused private methods such as 'allFiles()'. Signed-off-by: Andy Scherzinger --- src/main/java/com/owncloud/android/files/FileMenuFilter.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/owncloud/android/files/FileMenuFilter.java b/src/main/java/com/owncloud/android/files/FileMenuFilter.java index 1d63daf126..0506a1c162 100644 --- a/src/main/java/com/owncloud/android/files/FileMenuFilter.java +++ b/src/main/java/com/owncloud/android/files/FileMenuFilter.java @@ -439,10 +439,6 @@ public class FileMenuFilter { return isSingleSelection() && (MimeTypeUtil.isVideo(file) || MimeTypeUtil.isAudio(file)); } - private boolean allFiles() { - return mFiles != null && !containsFolder(); - } - private boolean containsEncryptedFile() { for (OCFile file : mFiles) { if (!file.isFolder() && file.isEncrypted()) {