mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-21 08:07:16 +00:00
small reformat of code for language_codes
This commit is contained in:
parent
e89e2c931d
commit
dafc50c463
@ -73,10 +73,8 @@ private fun printLanguageCodeAndTags(
|
|||||||
parent: Tag? = null,
|
parent: Tag? = null,
|
||||||
indents: String = " "
|
indents: String = " "
|
||||||
): String = if (tag.subtags.isEmpty()) {
|
): String = if (tag.subtags.isEmpty()) {
|
||||||
"""
|
"""${indents}${baseClassSerializerAnnotationName}
|
||||||
${indents}${baseClassSerializerAnnotationName}
|
${indents}object ${tag.title} : ${parent ?.title ?.let { "$it()" } ?: baseClassName} { override val code: String = "${tag.tag}" }"""
|
||||||
${indents}object ${tag.title} : ${parent ?.title ?.let { "$it()" } ?: baseClassName} { override val code: String = "${tag.tag}" }
|
|
||||||
"""
|
|
||||||
} else {
|
} else {
|
||||||
"""
|
"""
|
||||||
${indents}${baseClassSerializerAnnotationName}
|
${indents}${baseClassSerializerAnnotationName}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user