mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-22 21:06:09 +03:00
Remove unused import
This commit is contained in:
parent
5bc2d9ee54
commit
be4c0c28ff
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue