Fix build

This commit is contained in:
Him188 2020-12-01 10:30:46 +08:00
parent 4ac0356ecd
commit 40d5fb698b

View File

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