From b570be2abbefc9176b726baec289be7618ebb7a6 Mon Sep 17 00:00:00 2001 From: blackbracken Date: Wed, 19 Jul 2023 02:53:29 +0900 Subject: [PATCH] reformat by spotless --- .../apps/nowinandroid/core/database/dao/NewsResourceDao.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/dao/NewsResourceDao.kt b/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/dao/NewsResourceDao.kt index 4134f569b..0ad1e4f7d 100644 --- a/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/dao/NewsResourceDao.kt +++ b/core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/dao/NewsResourceDao.kt @@ -70,7 +70,7 @@ interface NewsResourceDao { */ @Transaction @Query( - value = """ + value = """ SELECT id FROM news_resources WHERE CASE WHEN :useFilterNewsIds @@ -87,7 +87,8 @@ interface NewsResourceDao { ELSE 1 END ORDER BY publish_date DESC - """) + """, + ) fun getNewsResourceIds( useFilterTopicIds: Boolean = false, filterTopicIds: Set = emptySet(),