style: fix lint

This commit is contained in:
usbharu 2023-12-14 16:44:15 +09:00
parent 11d82e7fbf
commit fdf3065953
16 changed files with 1 additions and 37 deletions

View File

@ -59,6 +59,4 @@ open class Delete : Object, HasId, HasActor {
")" +
" ${super.toString()}"
}
}

View File

@ -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
}
}

View File

@ -39,6 +39,4 @@ open class Follow(
")" +
" ${super.toString()}"
}
}

View File

@ -47,6 +47,4 @@ open class Undo(
")" +
" ${super.toString()}"
}
}

View File

@ -86,7 +86,5 @@ class APResourceResolveServiceImpl(
override fun hashCode(): Int {
return objects.hashCode()
}
}
}

View File

@ -64,6 +64,4 @@ open class SnowflakeIdGenerateService(private val baseTime: Long) : IdGenerateSe
result = 31 * result + mutex.hashCode()
return result
}
}

View File

@ -206,6 +206,4 @@ data class Actor private constructor(
"lastPostDate=$lastPostDate" +
")"
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -51,6 +51,4 @@ class HttpSignatureUser(
@Serial
private const val serialVersionUID: Long = -3330552099960982997L
}
}

View File

@ -37,6 +37,4 @@ class HttpSignatureVerifierComposite(
result = 31 * result + httpSignatureHeaderParser.hashCode()
return result
}
}

View File

@ -53,8 +53,6 @@ class UserDetailsImpl(
result = 31 * result + id.hashCode()
return result
}
}
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = JsonTypeInfo.As.PROPERTY)

View File

@ -47,6 +47,4 @@ class KtorResolveResponse(val ktorHttpResponse: HttpResponse) : ResolveResponse
result = 31 * result + _bodyAsBytes.contentHashCode()
return result
}
}

View File

@ -78,7 +78,6 @@ class StatusesRequest {
")"
}
@Suppress("EnumNaming", "EnumEntryNameCase")
enum class Visibility {
`public`,

View File

@ -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

View File

@ -22,6 +22,4 @@ class TempFile<T : Path?>(val path: T) : AutoCloseable {
override fun hashCode(): Int {
return path?.hashCode() ?: 0
}
}