style: fix lint (CI)

This commit is contained in:
usbharu 2024-09-21 08:15:47 +00:00 committed by github-actions[bot]
parent a9b7759220
commit 5777adac93
6 changed files with 21 additions and 27 deletions

View File

@ -35,7 +35,8 @@ class UserFollowRequestApplicationService(
private val actorRepository: ActorRepository, private val actorRepository: ActorRepository,
private val relationshipDomainService: RelationshipDomainService private val relationshipDomainService: RelationshipDomainService
) : LocalUserAbstractApplicationService<FollowRequest, Unit>( ) : LocalUserAbstractApplicationService<FollowRequest, Unit>(
transaction, logger transaction,
logger
) { ) {
override suspend fun internalExecute(command: FollowRequest, principal: LocalUser) { override suspend fun internalExecute(command: FollowRequest, principal: LocalUser) {

View File

@ -84,13 +84,13 @@ class Filter(
override fun hashCode(): Int = id.hashCode() override fun hashCode(): Int = id.hashCode()
override fun toString(): String { override fun toString(): String {
return "Filter(" + return "Filter(" +
"id=$id, " + "id=$id, " +
"userDetailId=$userDetailId, " + "userDetailId=$userDetailId, " +
"name=$name, " + "name=$name, " +
"filterContext=$filterContext, " + "filterContext=$filterContext, " +
"filterAction=$filterAction, " + "filterAction=$filterAction, " +
"filterKeywords=$filterKeywords" + "filterKeywords=$filterKeywords" +
")" ")"
} }
companion object { companion object {

View File

@ -36,11 +36,9 @@ class FilterKeyword(
override fun toString(): String { override fun toString(): String {
return "FilterKeyword(" + return "FilterKeyword(" +
"id=$id, " + "id=$id, " +
"keyword=$keyword, " + "keyword=$keyword, " +
"mode=$mode" + "mode=$mode" +
")" ")"
} }
} }

View File

@ -35,11 +35,10 @@ class FilterName(name: String) {
override fun toString(): String { override fun toString(): String {
return "FilterName(" + return "FilterName(" +
"name='$name'" + "name='$name'" +
")" ")"
} }
companion object { companion object {
const val LENGTH = 300 const val LENGTH = 300
} }

View File

@ -37,10 +37,8 @@ class FilterResult(val filter: Filter, val matchedKeyword: String) {
override fun toString(): String { override fun toString(): String {
return "FilterResult(" + return "FilterResult(" +
"filter=$filter, " + "filter=$filter, " +
"matchedKeyword='$matchedKeyword'" + "matchedKeyword='$matchedKeyword'" +
")" ")"
} }
} }

View File

@ -39,10 +39,8 @@ class FilteredPost(val post: Post, val filterResults: List<FilterResult>) {
override fun toString(): String { override fun toString(): String {
return "FilteredPost(" + return "FilteredPost(" +
"post=$post, " + "post=$post, " +
"filterResults=$filterResults" + "filterResults=$filterResults" +
")" ")"
} }
} }