style: fix lint

This commit is contained in:
usbharu 2024-01-31 22:17:07 +09:00
parent 61e61ec4bd
commit e5f620749e
21 changed files with 89 additions and 89 deletions

View File

@ -32,7 +32,6 @@ class ExposedGenerateTimelineService(private val statusQueryService: StatusQuery
} }
val result = query.withPagination(page, Timelines.id) val result = query.withPagination(page, Timelines.id)
val statusQueries = result.map { val statusQueries = result.map {
StatusQuery( StatusQuery(
it[Timelines.postId], it[Timelines.postId],

View File

@ -50,7 +50,6 @@ class MongoMastodonNotificationRepositoryWrapper(
mongoTemplate.find(query, MastodonNotification::class.java) mongoTemplate.find(query, MastodonNotification::class.java)
} }
return PaginationList( return PaginationList(
mastodonNotifications, mastodonNotifications,
mastodonNotifications.firstOrNull()?.id, mastodonNotifications.firstOrNull()?.id,

View File

@ -9,6 +9,7 @@ interface StatusQueryService {
suspend fun findByPostIds(ids: List<Long>): List<Status> suspend fun findByPostIds(ids: List<Long>): List<Status>
suspend fun findByPostIdsWithMediaIds(statusQueries: List<StatusQuery>): List<Status> suspend fun findByPostIdsWithMediaIds(statusQueries: List<StatusQuery>): List<Status>
@Suppress("LongParameterList")
suspend fun accountsStatus( suspend fun accountsStatus(
accountId: Long, accountId: Long,
onlyMedia: Boolean = false, onlyMedia: Boolean = false,

View File

@ -20,6 +20,7 @@ import kotlin.math.min
@Suppress("TooManyFunctions") @Suppress("TooManyFunctions")
interface AccountApiService { interface AccountApiService {
@Suppress("ongParameterList")
suspend fun accountsStatuses( suspend fun accountsStatuses(
userid: Long, userid: Long,
onlyMedia: Boolean, onlyMedia: Boolean,