From 5854b90877643ad6d7c933fd322d50b2b72a6670 Mon Sep 17 00:00:00 2001 From: Isc Date: Sat, 9 May 2020 14:05:00 +0800 Subject: [PATCH] Clean up NotesDatabase --- .../niedermann/owncloud/notes/persistence/NotesDatabase.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java b/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java index 5a3e9ec8..855efa76 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java @@ -54,8 +54,6 @@ public class NotesDatabase extends AbstractNotesDatabase { private static final String TAG = NotesDatabase.class.getSimpleName(); - private static final String[] columnsWithoutContent = {key_id, key_remote_id, key_status, key_title, key_modified, key_favorite, key_category, key_etag, key_excerpt}; - private static final String[] columns = {key_id, key_remote_id, key_status, key_title, key_modified, key_favorite, key_category, key_etag, key_excerpt, key_content}; private static final String default_order = key_favorite + " DESC, " + key_modified + " DESC"; private static NotesDatabase instance; @@ -383,7 +381,6 @@ public class NotesDatabase extends AbstractNotesDatabase { * @param search The search pattern * @return The category list containing all of the categories matched */ - // TODO merge with getCategories(long accountId) @NonNull @WorkerThread public List searchCategories(long accountId, String search) {