mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Fix build
This commit is contained in:
parent
4ac0356ecd
commit
40d5fb698b
@ -29,7 +29,7 @@ import java.io.Serializable
|
||||
*/
|
||||
public open class AnsiMessageBuilder public constructor(
|
||||
public val delegate: StringBuilder,
|
||||
) : Appendable, Serializable, Comparable<AnsiMessageBuilder> {
|
||||
) : Appendable, Serializable {
|
||||
override fun toString(): String = delegate.toString()
|
||||
|
||||
/**
|
||||
@ -113,7 +113,6 @@ public open class AnsiMessageBuilder public constructor(
|
||||
): AnsiMessageBuilder = this.asAnsiMessageBuilder().apply(action)
|
||||
}
|
||||
|
||||
override fun compareTo(other: AnsiMessageBuilder): Int = this.delegate.compareTo(other.delegate)
|
||||
override fun hashCode(): Int = this.delegate.hashCode()
|
||||
override fun equals(other: Any?): Boolean {
|
||||
if (other == null) return false
|
||||
|
Loading…
Reference in New Issue
Block a user