mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-10-28 15:43:48 +00:00
small reformat of code for language_codes
This commit is contained in:
1 parent
e89e2c931d
commit
dafc50c463
2 files changed
+2
-1022
No files matched your search
@@ -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}
|
||||
|
||||
-1018
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user