diff --git a/src/net/java/sip/communicator/service/contactsource/SortedGenericSourceContact.java b/src/net/java/sip/communicator/service/contactsource/SortedGenericSourceContact.java index 0e714f2a0..e23225244 100644 --- a/src/net/java/sip/communicator/service/contactsource/SortedGenericSourceContact.java +++ b/src/net/java/sip/communicator/service/contactsource/SortedGenericSourceContact.java @@ -68,7 +68,7 @@ public SortedGenericSourceContact( ContactQuery parentQuery, */ public int compareTo(SourceContact o) { - SourceContact target = (SourceContact) o; + SourceContact target = o; int comparePresence = 0; if (getPresenceStatus() != null && target.getPresenceStatus() != null)