Remove unused properties from MessageListItem
This commit is contained in:
parent
85b8cb96a3
commit
427aecb2ab
3 changed files with 0 additions and 9 deletions
|
@ -51,7 +51,6 @@ class MessageListExtractor(
|
|||
val folderId = cursor.getLong(MLFProjectionInfo.FOLDER_ID_COLUMN)
|
||||
val messageUid = cursor.getString(MLFProjectionInfo.UID_COLUMN)
|
||||
val databaseId = cursor.getLong(MLFProjectionInfo.ID_COLUMN)
|
||||
val senderAddress = fromAddresses.getOrNull(0)?.address
|
||||
val threadRoot = cursor.getLong(MLFProjectionInfo.THREAD_ROOT_COLUMN)
|
||||
|
||||
return MessageListItem(
|
||||
|
@ -62,7 +61,6 @@ class MessageListExtractor(
|
|||
messageDate,
|
||||
displayName,
|
||||
counterPartyAddress,
|
||||
fromMe,
|
||||
toMe,
|
||||
ccMe,
|
||||
previewText,
|
||||
|
@ -76,7 +74,6 @@ class MessageListExtractor(
|
|||
folderId,
|
||||
messageUid,
|
||||
databaseId,
|
||||
senderAddress,
|
||||
threadRoot
|
||||
)
|
||||
}
|
||||
|
|
|
@ -11,7 +11,6 @@ data class MessageListItem(
|
|||
val messageDate: Long,
|
||||
val displayName: CharSequence,
|
||||
val counterPartyAddress: Address?,
|
||||
val fromMe: Boolean,
|
||||
val toMe: Boolean,
|
||||
val ccMe: Boolean,
|
||||
val previewText: String,
|
||||
|
@ -25,6 +24,5 @@ data class MessageListItem(
|
|||
val folderId: Long,
|
||||
val messageUid: String,
|
||||
val databaseId: Long,
|
||||
val senderAddress: String?,
|
||||
val threadRoot: Long
|
||||
)
|
||||
|
|
|
@ -476,7 +476,6 @@ class MessageListAdapterTest : RobolectricTest() {
|
|||
messageDate: Long = 0L,
|
||||
displayName: CharSequence = "irrelevant",
|
||||
counterPartyAddress: Address? = Address.parse("irrelevant@domain.example").first(),
|
||||
fromMe: Boolean = false,
|
||||
toMe: Boolean = false,
|
||||
ccMe: Boolean = false,
|
||||
previewText: String = "irrelevant",
|
||||
|
@ -490,7 +489,6 @@ class MessageListAdapterTest : RobolectricTest() {
|
|||
folderId: Long = 0L,
|
||||
messageUid: String = "irrelevant",
|
||||
databaseId: Long = 0L,
|
||||
senderAddress: String? = null,
|
||||
threadRoot: Long = 0L
|
||||
): MessageListItem {
|
||||
return MessageListItem(
|
||||
|
@ -501,7 +499,6 @@ class MessageListAdapterTest : RobolectricTest() {
|
|||
messageDate,
|
||||
displayName,
|
||||
counterPartyAddress,
|
||||
fromMe,
|
||||
toMe,
|
||||
ccMe,
|
||||
previewText,
|
||||
|
@ -515,7 +512,6 @@ class MessageListAdapterTest : RobolectricTest() {
|
|||
folderId,
|
||||
messageUid,
|
||||
databaseId,
|
||||
senderAddress,
|
||||
threadRoot
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue