mirror of https://github.com/usbharu/Hideout.git
style: fix lint (CI)
This commit is contained in:
parent
a9b7759220
commit
5777adac93
|
@ -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) {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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" +
|
||||||
")"
|
")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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'" +
|
||||||
")"
|
")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" +
|
||||||
")"
|
")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue