mirror of https://github.com/usbharu/Hideout.git
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
259ff937dc
commit
c28b1ab11e
|
@ -15,7 +15,9 @@ open class Accept @JsonCreator constructor(
|
||||||
override val actor: String
|
override val actor: String
|
||||||
) : Object(
|
) : Object(
|
||||||
type = add(type, "Accept")
|
type = add(type, "Accept")
|
||||||
), HasActor, HasName {
|
),
|
||||||
|
HasActor,
|
||||||
|
HasName {
|
||||||
|
|
||||||
override fun equals(other: Any?): Boolean {
|
override fun equals(other: Any?): Boolean {
|
||||||
if (this === other) return true
|
if (this === other) return true
|
||||||
|
@ -41,10 +43,10 @@ open class Accept @JsonCreator constructor(
|
||||||
|
|
||||||
override fun toString(): String {
|
override fun toString(): String {
|
||||||
return "Accept(" +
|
return "Accept(" +
|
||||||
"name='$name', " +
|
"name='$name', " +
|
||||||
"apObject=$apObject, " +
|
"apObject=$apObject, " +
|
||||||
"actor='$actor'" +
|
"actor='$actor'" +
|
||||||
")" +
|
")" +
|
||||||
" ${super.toString()}"
|
" ${super.toString()}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,13 +52,13 @@ open class Create(
|
||||||
|
|
||||||
override fun toString(): String {
|
override fun toString(): String {
|
||||||
return "Create(" +
|
return "Create(" +
|
||||||
"name='$name', " +
|
"name='$name', " +
|
||||||
"apObject=$apObject, " +
|
"apObject=$apObject, " +
|
||||||
"actor='$actor', " +
|
"actor='$actor', " +
|
||||||
"id='$id', " +
|
"id='$id', " +
|
||||||
"to=$to, " +
|
"to=$to, " +
|
||||||
"cc=$cc" +
|
"cc=$cc" +
|
||||||
")" +
|
")" +
|
||||||
" ${super.toString()}"
|
" ${super.toString()}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,12 +46,12 @@ open class Like(
|
||||||
|
|
||||||
override fun toString(): String {
|
override fun toString(): String {
|
||||||
return "Like(" +
|
return "Like(" +
|
||||||
"actor='$actor', " +
|
"actor='$actor', " +
|
||||||
"id='$id', " +
|
"id='$id', " +
|
||||||
"apObject='$apObject', " +
|
"apObject='$apObject', " +
|
||||||
"content='$content', " +
|
"content='$content', " +
|
||||||
"tag=$tag" +
|
"tag=$tag" +
|
||||||
")" +
|
")" +
|
||||||
" ${super.toString()}"
|
" ${super.toString()}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,16 +56,16 @@ constructor(
|
||||||
|
|
||||||
override fun toString(): String {
|
override fun toString(): String {
|
||||||
return "Note(" +
|
return "Note(" +
|
||||||
"id='$id', " +
|
"id='$id', " +
|
||||||
"attributedTo='$attributedTo', " +
|
"attributedTo='$attributedTo', " +
|
||||||
"content='$content', " +
|
"content='$content', " +
|
||||||
"published='$published', " +
|
"published='$published', " +
|
||||||
"to=$to, " +
|
"to=$to, " +
|
||||||
"cc=$cc, " +
|
"cc=$cc, " +
|
||||||
"sensitive=$sensitive, " +
|
"sensitive=$sensitive, " +
|
||||||
"inReplyTo=$inReplyTo, " +
|
"inReplyTo=$inReplyTo, " +
|
||||||
"attachment=$attachment" +
|
"attachment=$attachment" +
|
||||||
")" +
|
")" +
|
||||||
" ${super.toString()}"
|
" ${super.toString()}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue