diff --git a/processor/src/main/resources/org.mapstruct.ap.model.BeanMappingMethod.ftl b/processor/src/main/resources/org.mapstruct.ap.model.BeanMappingMethod.ftl index c9cb62b65..e76d25776 100644 --- a/processor/src/main/resources/org.mapstruct.ap.model.BeanMappingMethod.ftl +++ b/processor/src/main/resources/org.mapstruct.ap.model.BeanMappingMethod.ftl @@ -60,8 +60,7 @@ } <#macro throws> - <@compress single_line=true> - <#if (thrownTypes?size > 0)> throws + <#if (thrownTypes?size > 0)><#lt> throws <@compress single_line=true> <#list thrownTypes as exceptionType> <@includeModel object=exceptionType/> <#if exceptionType_has_next>, diff --git a/processor/src/main/resources/org.mapstruct.ap.model.IterableMappingMethod.ftl b/processor/src/main/resources/org.mapstruct.ap.model.IterableMappingMethod.ftl index 06a9f9ffb..a66f5daa0 100644 --- a/processor/src/main/resources/org.mapstruct.ap.model.IterableMappingMethod.ftl +++ b/processor/src/main/resources/org.mapstruct.ap.model.IterableMappingMethod.ftl @@ -78,8 +78,7 @@ } <#macro throws> - <@compress single_line=true> - <#if (thrownTypes?size > 0)> throws + <#if (thrownTypes?size > 0)><#lt> throws <@compress single_line=true> <#list thrownTypes as exceptionType> <@includeModel object=exceptionType/> <#if exceptionType_has_next>, diff --git a/processor/src/main/resources/org.mapstruct.ap.model.MapMappingMethod.ftl b/processor/src/main/resources/org.mapstruct.ap.model.MapMappingMethod.ftl index fc27b6bb4..a0dc5d753 100644 --- a/processor/src/main/resources/org.mapstruct.ap.model.MapMappingMethod.ftl +++ b/processor/src/main/resources/org.mapstruct.ap.model.MapMappingMethod.ftl @@ -57,8 +57,7 @@ } <#macro throws> - <@compress single_line=true> - <#if (thrownTypes?size > 0)> throws + <#if (thrownTypes?size > 0)><#lt> throws <@compress single_line=true> <#list thrownTypes as exceptionType> <@includeModel object=exceptionType/> <#if exceptionType_has_next>,