mirror of https://github.com/usbharu/Hideout.git
style: fix lint
This commit is contained in:
parent
67208e5899
commit
e43e1575cf
|
@ -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(" +
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue