Commit dc008fc9 authored by Him188's avatar Him188

Remove unnecessary constructors

parent a50f09cb
......@@ -288,11 +288,8 @@ internal inline class MessageChainImpl constructor(
private val delegate: MutableList<Message>
) : Message, MutableList<Message>,
MessageChain {
//constructor() : this(ArrayList(8))
constructor(initialCapacity: Int) : this(ArrayList(initialCapacity))
constructor(vararg messages: Message) : this(messages.toMutableList())
constructor(messages: Iterable<Message>) : this(messages.toMutableList())
// region Message override
override val stringValue: String get() = this.delegate.joinToString("") { it.stringValue }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment