summaryrefslogtreecommitdiff
path: root/vdrmanager/src/de/bjusystems
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-12-25 20:44:51 +0100
committerlado <herrlado@gmail.com>2013-12-25 20:44:51 +0100
commit4d8da7e2349df5180289f1b352675256f35a0c3f (patch)
tree28da6d946d4b6cd70d2d1d8cd5471cb1674e24e4 /vdrmanager/src/de/bjusystems
parent94d51eef55eb4369f8e8333e0fcb56a2b8c113a3 (diff)
downloadvdr-manager-4d8da7e2349df5180289f1b352675256f35a0c3f.tar.gz
vdr-manager-4d8da7e2349df5180289f1b352675256f35a0c3f.tar.bz2
fix Comparison method violates its general contract!
Diffstat (limited to 'vdrmanager/src/de/bjusystems')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java
index 9bb2361..89408dc 100644
--- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java
+++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java
@@ -126,6 +126,9 @@ OnItemClickListener {
@Override
public int compare(final Timer item1, final Timer item2) {
if (item1.isRecurring()) {
+ if(item2.isRecurring()){
+ return 0;
+ }
return 1;
}
if (item2.isRecurring()) {