From 9cad737be2afc219c3f670fa67bd5c3b645dee1f Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Sun, 17 Jun 2012 13:59:06 +0200 Subject: [PATCH] Removed unnecessary code --- src/de/podfetcher/feed/FeedItem.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/de/podfetcher/feed/FeedItem.java b/src/de/podfetcher/feed/FeedItem.java index 0d4ce4977..92b887e99 100644 --- a/src/de/podfetcher/feed/FeedItem.java +++ b/src/de/podfetcher/feed/FeedItem.java @@ -8,7 +8,7 @@ import java.util.Date; * @author daniel * */ -public class FeedItem extends FeedComponent implements Comparable{ +public class FeedItem extends FeedComponent{ private String title; private String description; private String link; @@ -85,11 +85,4 @@ public class FeedItem extends FeedComponent implements Comparable{ return read; } - @Override - public int compareTo(FeedItem another) { - long diff = pubDate.getTime() - another.getPubDate().getTime(); - return (int) Math.signum(diff); - } - - }