mirror of https://github.com/usbharu/Hideout.git
style: fix lint
This commit is contained in:
parent
11d82e7fbf
commit
fdf3065953
|
@ -59,6 +59,4 @@ open class Delete : Object, HasId, HasActor {
|
|||
")" +
|
||||
" ${super.toString()}"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -14,7 +14,6 @@ open class Emoji(
|
|||
HasName,
|
||||
HasId {
|
||||
|
||||
|
||||
override fun toString(): String {
|
||||
return "Emoji(" +
|
||||
"name='$name', " +
|
||||
|
@ -48,6 +47,4 @@ open class Emoji(
|
|||
result = 31 * result + icon.hashCode()
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -39,6 +39,4 @@ open class Follow(
|
|||
")" +
|
||||
" ${super.toString()}"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -47,6 +47,4 @@ open class Undo(
|
|||
")" +
|
||||
" ${super.toString()}"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -86,7 +86,5 @@ class APResourceResolveServiceImpl(
|
|||
override fun hashCode(): Int {
|
||||
return objects.hashCode()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,6 +64,4 @@ open class SnowflakeIdGenerateService(private val baseTime: Long) : IdGenerateSe
|
|||
result = 31 * result + mutex.hashCode()
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -181,7 +181,7 @@ data class Actor private constructor(
|
|||
fun decrementPostsCount(): Actor = this.copy(postsCount = this.postsCount - 1)
|
||||
|
||||
fun withLastPostAt(lastPostDate: Instant): Actor = this.copy(lastPostDate = lastPostDate)
|
||||
|
||||
|
||||
override fun toString(): String {
|
||||
return "Actor(" +
|
||||
"id=$id, " +
|
||||
|
@ -206,6 +206,4 @@ data class Actor private constructor(
|
|||
"lastPostDate=$lastPostDate" +
|
||||
")"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -15,8 +15,6 @@ class Nodeinfo private constructor() {
|
|||
override fun hashCode(): Int {
|
||||
return links.hashCode()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Links private constructor() {
|
||||
|
@ -39,6 +37,4 @@ class Links private constructor() {
|
|||
result = 31 * result + (href?.hashCode() ?: 0)
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -23,8 +23,6 @@ class Nodeinfo2_0 {
|
|||
result = 31 * result + (software?.hashCode() ?: 0)
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Metadata {
|
||||
|
@ -47,8 +45,6 @@ class Metadata {
|
|||
result = 31 * result + (nodeDescription?.hashCode() ?: 0)
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
class Software {
|
||||
|
@ -72,5 +68,4 @@ class Software {
|
|||
result = 31 * result + (version?.hashCode() ?: 0)
|
||||
return result
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -51,6 +51,4 @@ class HttpSignatureUser(
|
|||
@Serial
|
||||
private const val serialVersionUID: Long = -3330552099960982997L
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -37,6 +37,4 @@ class HttpSignatureVerifierComposite(
|
|||
result = 31 * result + httpSignatureHeaderParser.hashCode()
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -53,8 +53,6 @@ class UserDetailsImpl(
|
|||
result = 31 * result + id.hashCode()
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)
|
||||
|
|
|
@ -47,6 +47,4 @@ class KtorResolveResponse(val ktorHttpResponse: HttpResponse) : ResolveResponse
|
|||
result = 31 * result + _bodyAsBytes.contentHashCode()
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -78,7 +78,6 @@ class StatusesRequest {
|
|||
")"
|
||||
}
|
||||
|
||||
|
||||
@Suppress("EnumNaming", "EnumEntryNameCase")
|
||||
enum class Visibility {
|
||||
`public`,
|
||||
|
|
|
@ -12,7 +12,6 @@ class LruCache<K, V>(private val maxSize: Int) : LinkedHashMap<K, V>(15, 0.75f,
|
|||
" ${super.toString()}"
|
||||
}
|
||||
|
||||
|
||||
companion object {
|
||||
@Serial
|
||||
private const val serialVersionUID: Long = -6446947260925053191L
|
||||
|
|
|
@ -22,6 +22,4 @@ class TempFile<T : Path?>(val path: T) : AutoCloseable {
|
|||
override fun hashCode(): Int {
|
||||
return path?.hashCode() ?: 0
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue