Make cache private

This commit is contained in:
Him188 2020-03-04 12:20:41 +08:00
parent 80a1bad98c
commit 8cefb73033

View File

@ -85,7 +85,7 @@ class MessageChainBuilder
withCache { append(plain) }
}
var cache: StringBuilder? = null
private var cache: StringBuilder? = null
private fun flushCache() {
cache?.let {
container.add(it.toString().toMessage())