diff options
author | Stefan Niedermann <info@niedermann.it> | 2021-04-06 19:03:36 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2021-04-06 19:03:36 +0300 |
commit | be4c0c28fffc21a2b0ce7087784a7ab1fe3e1dd1 (patch) | |
tree | 083e0c58c34b3493ca3394ae613f3cc7154736c5 /app/src/main | |
parent | 5bc2d9ee540c1e94c9bc8577ce6e86eea0a3ff27 (diff) |
Remove unused import
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/it/niedermann/owncloud/notes/shared/model/CategorySortingMethod.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/src/main/java/it/niedermann/owncloud/notes/shared/model/CategorySortingMethod.java b/app/src/main/java/it/niedermann/owncloud/notes/shared/model/CategorySortingMethod.java index ecbd4eeb..94bcda38 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/shared/model/CategorySortingMethod.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/shared/model/CategorySortingMethod.java @@ -1,7 +1,5 @@ package it.niedermann.owncloud.notes.shared.model; -import java.util.NoSuchElementException; - public enum CategorySortingMethod { SORT_MODIFIED_DESC(0, "MODIFIED DESC"), SORT_LEXICOGRAPHICAL_ASC(1, "TITLE COLLATE NOCASE ASC"); @@ -40,8 +38,8 @@ public enum CategorySortingMethod { * @return the corresponding enum item with the index (ordinal) */ public static CategorySortingMethod findById(int id) { - for(CategorySortingMethod csm : values()) { - if(csm.getId() == id) { + for (CategorySortingMethod csm : values()) { + if (csm.getId() == id) { return csm; } } |