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