From ac5d6800e103bd6bb3a9ae68f2b8bfae825e2f74 Mon Sep 17 00:00:00 2001 From: usbharu Date: Sat, 24 Aug 2024 04:22:10 +0000 Subject: [PATCH] style: fix lint (CI) --- .../core/domain/model/userdetails/UserDetail.kt | 14 +++++++------- .../other/SnowflakeIdGenerateService.kt | 2 -- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/domain/model/userdetails/UserDetail.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/domain/model/userdetails/UserDetail.kt index 183ec3e6..a782b044 100644 --- a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/domain/model/userdetails/UserDetail.kt +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/domain/model/userdetails/UserDetail.kt @@ -44,13 +44,13 @@ class UserDetail( override fun hashCode(): Int = id.hashCode() override fun toString(): String { return "UserDetail(" + - "id=$id, " + - "actorId=$actorId, " + - "password=$password, " + - "autoAcceptFolloweeFollowRequest=$autoAcceptFolloweeFollowRequest, " + - "lastMigration=$lastMigration, " + - "homeTimelineId=$homeTimelineId" + - ")" + "id=$id, " + + "actorId=$actorId, " + + "password=$password, " + + "autoAcceptFolloweeFollowRequest=$autoAcceptFolloweeFollowRequest, " + + "lastMigration=$lastMigration, " + + "homeTimelineId=$homeTimelineId" + + ")" } companion object { diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/other/SnowflakeIdGenerateService.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/other/SnowflakeIdGenerateService.kt index 26f3564b..a2d43add 100644 --- a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/other/SnowflakeIdGenerateService.kt +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/infrastructure/other/SnowflakeIdGenerateService.kt @@ -80,6 +80,4 @@ open class SnowflakeIdGenerateService(private val baseTime: Long) : IdGenerateSe result = 31 * result + mutex.hashCode() return result } - - }