Fix lint errors and add submodules to qa checks.

This commit is contained in:
Cody Henthorne
2021-02-24 15:07:56 -05:00
committed by GitHub
parent 3c4252a933
commit b91f04316a
9 changed files with 52 additions and 36 deletions

View File

@@ -426,7 +426,7 @@ public class SearchRepository {
@Override
public MessageResult build(@NonNull Cursor cursor) {
RecipientId conversationRecipientId = RecipientId.from(cursor.getLong(cursor.getColumnIndex(SearchDatabase.CONVERSATION_RECIPIENT)));
RecipientId conversationRecipientId = RecipientId.from(CursorUtil.requireLong(cursor, SearchDatabase.CONVERSATION_RECIPIENT));
RecipientId messageRecipientId = RecipientId.from(CursorUtil.requireLong(cursor, SearchDatabase.MESSAGE_RECIPIENT));
Recipient conversationRecipient = Recipient.live(conversationRecipientId).get();
Recipient messageRecipient = Recipient.live(messageRecipientId).get();