diff options
author | lookshe <github@lookshe.org> | 2016-03-14 23:39:44 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2016-03-14 23:39:44 +0100 |
commit | 76a1937745ed0281e817722ab0ce159546397b3c (patch) | |
tree | 0f868194ef0d244da8175a5b61074481ba29d3ee /src/main/java/de/thedevstack/conversationsplus/ui | |
parent | a95d2d9134508ec694cb48db361f1fd4387d1827 (diff) |
once again: FS#34 - review all calls for String.trim()
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/ui')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/ui/StartConversationActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ui/StartConversationActivity.java b/src/main/java/de/thedevstack/conversationsplus/ui/StartConversationActivity.java index d3086d66..bd3dd684 100644 --- a/src/main/java/de/thedevstack/conversationsplus/ui/StartConversationActivity.java +++ b/src/main/java/de/thedevstack/conversationsplus/ui/StartConversationActivity.java @@ -742,7 +742,7 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU Presence.Status s = p == null ? Presence.Status.OFFLINE : p.getStatus(); if (contact.showInRoster() && contact.match(needle) && (!this.mHideOfflineContacts - || (needle != null && !needle.trim().isEmpty()) + || (needle != null && !needle.isEmpty()) || s.compareTo(Presence.Status.OFFLINE) < 0)) { this.contacts.add(contact); } |