diff options
author | Andrew Gaul <andrew@gaul.org> | 2013-07-13 18:44:37 -0700 |
---|---|---|
committer | Andrew Gaul <andrew@gaul.org> | 2013-07-14 22:13:49 -0700 |
commit | b1cdfe20416dc78349dc78b279f718076e07643c (patch) | |
tree | 5d28c589a1c3cb8f5685fa4439ad2b1d72a4ecb4 /src/de/danoeh/antennapod/util/comparator/PlaybackCompletionDateComparator.java | |
parent | 941fa9062e2ac1709e8c99208e2f63226fe2c7a8 (diff) | |
download | AntennaPod-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.java | 4 |
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; } |