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 relationshipDomainService: RelationshipDomainService
) : LocalUserAbstractApplicationService<FollowRequest, Unit>(
transaction, logger
transaction,
logger
) {
override suspend fun internalExecute(command: FollowRequest, principal: LocalUser) {

View File

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

View File

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

View File

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

View File

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

View File

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