mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 06:51:09 +00:00
style: fix lint
This commit is contained in:
@@ -154,9 +154,7 @@ class Actor(
|
||||
return id == other.id
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return id.hashCode()
|
||||
}
|
||||
override fun hashCode(): Int = id.hashCode()
|
||||
|
||||
override fun toString(): String {
|
||||
return "Actor(" +
|
||||
|
||||
+1
-3
@@ -28,9 +28,7 @@ class ActorDescription(description: String) {
|
||||
return description == other.description
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return description.hashCode()
|
||||
}
|
||||
override fun hashCode(): Int = description.hashCode()
|
||||
|
||||
companion object {
|
||||
const val LENGTH = 10000
|
||||
|
||||
+1
-3
@@ -29,9 +29,7 @@ class ActorScreenName(screenName: String) {
|
||||
return screenName == other.screenName
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return screenName.hashCode()
|
||||
}
|
||||
override fun hashCode(): Int = screenName.hashCode()
|
||||
|
||||
companion object {
|
||||
const val LENGTH = 300
|
||||
|
||||
+1
-3
@@ -35,9 +35,7 @@ class Timeline(
|
||||
return id == other.id
|
||||
}
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return id.hashCode()
|
||||
}
|
||||
override fun hashCode(): Int = id.hashCode()
|
||||
|
||||
companion object {
|
||||
fun create(
|
||||
|
||||
Reference in New Issue
Block a user