aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/entities/Presence.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/pixart/messenger/entities/Presence.java')
-rw-r--r--src/main/java/de/pixart/messenger/entities/Presence.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Presence.java b/src/main/java/de/pixart/messenger/entities/Presence.java
index e21da6b37..14836c145 100644
--- a/src/main/java/de/pixart/messenger/entities/Presence.java
+++ b/src/main/java/de/pixart/messenger/entities/Presence.java
@@ -1,5 +1,7 @@
package de.pixart.messenger.entities;
+import android.support.annotation.NonNull;
+
import java.util.Locale;
import de.pixart.messenger.xml.Element;
@@ -65,7 +67,7 @@ public class Presence implements Comparable {
return new Presence(Status.fromShowString(show), ver, hash, node, message);
}
- public int compareTo(Object other) {
+ public int compareTo(@NonNull Object other) {
return this.status.compareTo(((Presence) other).status);
}