1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-26 03:58:44 +00:00

move entitiesList from EntitiesBuilder constructor

This commit is contained in:
Kirill Romanov 2021-10-20 21:59:11 +03:00
parent db956a803c
commit 78f006e280

View File

@ -15,9 +15,9 @@ fun buildEntities(init: EntitiesBuilderBody): TextSourcesList = EntitiesBuilder(
* *
* @see buildEntities * @see buildEntities
*/ */
class EntitiesBuilder internal constructor( class EntitiesBuilder internal constructor() {
private val entitiesList: MutableTextSourcesList = mutableListOf() private val entitiesList: MutableTextSourcesList = mutableListOf()
) {
/** /**
* It is not safe field which contains potentially changeable [List] * It is not safe field which contains potentially changeable [List]
*/ */