mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#513, template improvement, adding space before throws keyword
This commit is contained in:
parent
b98644cfeb
commit
379460b70d
@ -60,8 +60,7 @@
|
||||
</#if>
|
||||
}
|
||||
<#macro throws>
|
||||
<@compress single_line=true>
|
||||
<#if (thrownTypes?size > 0)> throws </#if>
|
||||
<#if (thrownTypes?size > 0)><#lt> throws </#if><@compress single_line=true>
|
||||
<#list thrownTypes as exceptionType>
|
||||
<@includeModel object=exceptionType/>
|
||||
<#if exceptionType_has_next>, </#if>
|
||||
|
@ -78,8 +78,7 @@
|
||||
</#if>
|
||||
}
|
||||
<#macro throws>
|
||||
<@compress single_line=true>
|
||||
<#if (thrownTypes?size > 0)> throws </#if>
|
||||
<#if (thrownTypes?size > 0)><#lt> throws </#if><@compress single_line=true>
|
||||
<#list thrownTypes as exceptionType>
|
||||
<@includeModel object=exceptionType/>
|
||||
<#if exceptionType_has_next>, </#if>
|
||||
|
@ -57,8 +57,7 @@
|
||||
</#if>
|
||||
}
|
||||
<#macro throws>
|
||||
<@compress single_line=true>
|
||||
<#if (thrownTypes?size > 0)> throws </#if>
|
||||
<#if (thrownTypes?size > 0)><#lt> throws </#if><@compress single_line=true>
|
||||
<#list thrownTypes as exceptionType>
|
||||
<@includeModel object=exceptionType/>
|
||||
<#if exceptionType_has_next>, </#if>
|
||||
|
Loading…
x
Reference in New Issue
Block a user