From 379460b70df401d906d10cbe6538a6c62c266026 Mon Sep 17 00:00:00 2001 From: sjaakd Date: Sun, 17 May 2015 12:17:30 +0200 Subject: [PATCH] #513, template improvement, adding space before throws keyword --- .../resources/org.mapstruct.ap.model.BeanMappingMethod.ftl | 3 +-- .../resources/org.mapstruct.ap.model.IterableMappingMethod.ftl | 3 +-- .../main/resources/org.mapstruct.ap.model.MapMappingMethod.ftl | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) 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>,