summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java
diff options
context:
space:
mode:
authorAndrew Gaul <andrew@gaul.org>2013-07-13 18:44:37 -0700
committerAndrew Gaul <andrew@gaul.org>2013-07-14 22:13:49 -0700
commitb1cdfe20416dc78349dc78b279f718076e07643c (patch)
tree5d28c589a1c3cb8f5685fa4439ad2b1d72a4ecb4 /src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java
parent941fa9062e2ac1709e8c99208e2f63226fe2c7a8 (diff)
downloadAntennaPod-b1cdfe20416dc78349dc78b279f718076e07643c.zip
Address FindBugs warnings
This commit fixes 36 of the 109 warnings.
Diffstat (limited to 'src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java')
-rw-r--r--src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java b/src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java
index 2d0ce75ca..434a5a956 100644
--- a/src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java
+++ b/src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java
@@ -11,8 +11,8 @@ public class PlaybackCompletionDateComparator implements Comparator<FeedItem> {
&& lhs.getMedia().getPlaybackCompletionDate() != null
&& rhs.getMedia() != null
&& rhs.getMedia().getPlaybackCompletionDate() != null) {
- return -lhs.getMedia().getPlaybackCompletionDate()
- .compareTo(rhs.getMedia().getPlaybackCompletionDate());
+ return rhs.getMedia().getPlaybackCompletionDate()
+ .compareTo(lhs.getMedia().getPlaybackCompletionDate());
}
return 0;
}