From e4ff2ceb7f6cb6fad270c7f877b034974ecbd333 Mon Sep 17 00:00:00 2001 From: Elena Bobkova Date: Thu, 23 May 2019 18:28:49 +0300 Subject: [PATCH] spacing fixed if no description is set --- KotlinServer/Class.kt.twig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/KotlinServer/Class.kt.twig b/KotlinServer/Class.kt.twig index a209161..4927a07 100644 --- a/KotlinServer/Class.kt.twig +++ b/KotlinServer/Class.kt.twig @@ -9,12 +9,11 @@ import com.fasterxml.jackson.annotation.JsonFormat import java.math.BigDecimal import java.time.ZonedDateTime -{%- if (description is not empty) %} - +{% if (description is not empty) %} /** * {{ description }} */ -{%- endif %} +{% endif -%} open class {% include 'blocks/class/classtype.twig' with { type: type } %} ( {%- include 'blocks/class/constructor-fields-info.twig' with { fields: allFieldsOrdered, superclassesFields: superclassesFields } %} ){% include 'blocks/class/supertype.twig' with { type: type, parent: parent } %} {%- include 'blocks/class/fields-super-initialization.twig' with { fields: superclassesFields } -%} \ No newline at end of file