spacing fixed if no description is set

This commit is contained in:
Elena Bobkova 2019-05-23 18:28:49 +03:00
parent 1816c2e4b1
commit e4ff2ceb7f
1 changed files with 2 additions and 3 deletions

View File

@ -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 } -%}