Refactoring

This commit is contained in:
M66B 2019-04-30 22:24:13 +02:00
parent f5a2e16383
commit a9bc7ad84b
1 changed files with 2 additions and 2 deletions

View File

@ -130,9 +130,9 @@ public class AdapterNavFolder extends RecyclerView.Adapter<AdapterNavFolder.View
final Collator collator = Collator.getInstance(Locale.getDefault());
collator.setStrength(Collator.SECONDARY); // Case insensitive, process accents etc
Collections.sort(folders, new Comparator<EntityFolder>() {
Collections.sort(folders, new Comparator<TupleFolderNav>() {
@Override
public int compare(EntityFolder f1, EntityFolder f2) {
public int compare(TupleFolderNav f1, TupleFolderNav f2) {
int o = Boolean.compare(EntityFolder.OUTBOX.equals(f1.type), EntityFolder.OUTBOX.equals(f2.type));
if (o != 0)
return o;