Removed unnecessary code

This commit is contained in:
daniel oeh 2012-06-17 13:59:06 +02:00
parent 14845e9a42
commit 9cad737be2
1 changed files with 1 additions and 8 deletions

View File

@ -8,7 +8,7 @@ import java.util.Date;
* @author daniel * @author daniel
* *
*/ */
public class FeedItem extends FeedComponent implements Comparable<FeedItem>{ public class FeedItem extends FeedComponent{
private String title; private String title;
private String description; private String description;
private String link; private String link;
@ -85,11 +85,4 @@ public class FeedItem extends FeedComponent implements Comparable<FeedItem>{
return read; return read;
} }
@Override
public int compareTo(FeedItem another) {
long diff = pubDate.getTime() - another.getPubDate().getTime();
return (int) Math.signum(diff);
}
} }