Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a7d7173 authored by John Shao's avatar John Shao
Browse files

Migrate from depreated Guava APIs

Objects.toStringHelper -> MoreObjects.toStringHelper

Test: built Contacts and GoogleContacts

Bug: 32827405
Change-Id: I30a15e5ad8a2568d1c12735b86ff2903a08a4be7
parent 8694007c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -40,8 +40,7 @@ import android.text.TextUtils;
import com.android.contacts.common.model.ValuesDelta;
import com.android.contacts.common.model.account.AccountWithDataSet;
import com.android.contacts.compat.AggregationSuggestionsCompat;

import com.google.common.base.Objects;
import com.google.common.base.MoreObjects;
import com.google.common.collect.Lists;

import java.util.ArrayList;
@@ -69,7 +68,7 @@ public class AggregationSuggestionEngine extends HandlerThread {

        @Override
        public String toString() {
            return Objects.toStringHelper(Suggestion.class)
            return MoreObjects.toStringHelper(Suggestion.class)
                    .add("contactId", contactId)
                    .add("contactLookupKey", contactLookupKey)
                    .add("rawContactId", rawContactId)