Messaging: Language cleanup
No unnecessary boxing, enhanced for loops, redundant checks and throws, imports (removal, reordering), possible void returns Change-Id: I7a8e1b2007e3b0906e01b41785c518d02c2f3fab
This commit is contained in:
@@ -18,7 +18,6 @@ package com.android.messaging.ui.contact;
|
||||
|
||||
import android.content.Context;
|
||||
import android.database.Cursor;
|
||||
import androidx.core.util.Pair;
|
||||
import android.text.TextUtils;
|
||||
import android.text.util.Rfc822Token;
|
||||
import android.text.util.Rfc822Tokenizer;
|
||||
@@ -222,7 +221,6 @@ public final class ContactRecipientAdapter extends BaseRecipientAdapter {
|
||||
* Compare two RecipientEntry's, first by locale-aware display name comparison, then by
|
||||
* contact id comparison, finally by first-level-ness comparison.
|
||||
*/
|
||||
@Override
|
||||
public int compare(RecipientEntry lhs, RecipientEntry rhs) {
|
||||
// Send-to-destinations always appear before everything else.
|
||||
final boolean sendToLhs = ContactRecipientEntryUtils
|
||||
|
||||
Reference in New Issue
Block a user