From 6130a0a6543b1cdf99f2ce26872040c28a5f8d24 Mon Sep 17 00:00:00 2001 From: onurays Date: Wed, 25 Mar 2020 18:34:04 +0300 Subject: [PATCH] Remove unused toString(). --- .../riotx/multipicker/entity/MultiPickerContactType.kt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/multipicker/src/main/java/im/vector/riotx/multipicker/entity/MultiPickerContactType.kt b/multipicker/src/main/java/im/vector/riotx/multipicker/entity/MultiPickerContactType.kt index 5a9c064867..a9135443a2 100644 --- a/multipicker/src/main/java/im/vector/riotx/multipicker/entity/MultiPickerContactType.kt +++ b/multipicker/src/main/java/im/vector/riotx/multipicker/entity/MultiPickerContactType.kt @@ -21,12 +21,4 @@ data class MultiPickerContactType( val photoUri: String?, val phoneNumberList: List, val emailList: List -) { - private val CONTACT_FORMAT = "Name: %s, Photo: %s, Phones: %s, Emails: %s" - - override fun toString(): String { - val phoneNumberString = phoneNumberList.joinToString(separator = ", ", prefix = "[", postfix = "]") - val emailString = emailList.joinToString(separator = ", ", prefix = "[", postfix = "]") - return String.format(CONTACT_FORMAT, displayName, photoUri, phoneNumberString, emailString) - } -} +)