Remove unused comparators after SortOrder refactoring

This commit is contained in:
orionlee 2019-10-24 13:39:28 -07:00
parent 9c895ef15a
commit 007f1fbb87
1 changed files with 0 additions and 4 deletions

View File

@ -1,6 +1,5 @@
package de.danoeh.antennapod.core.util.comparator;
import java.util.Collections;
import java.util.Comparator;
import de.danoeh.antennapod.core.feed.FeedItem;
@ -8,9 +7,6 @@ import de.danoeh.antennapod.core.feed.FeedItem;
/** Compares the pubDate of two FeedItems for sorting*/
public class FeedItemPubdateComparator implements Comparator<FeedItem> {
public static final Comparator<FeedItem> descending = new FeedItemPubdateComparator();
public static final Comparator<FeedItem> ascending = Collections.reverseOrder(new FeedItemPubdateComparator());
/** Returns a new instance of this comparator in reverse order.
public static FeedItemPubdateComparator newInstance() {
FeedItemPubdateComparator