From 66b79947edd3e902a5c7b77d718b3120128d2ca5 Mon Sep 17 00:00:00 2001 From: Marcus Holl Date: Tue, 30 Oct 2018 08:02:58 +0100 Subject: [PATCH] Avoid trailing whitespaces caused by empty lines in the javadoc like documentation --- createDocu.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createDocu.groovy b/createDocu.groovy index c7231a02c..9638603cc 100644 --- a/createDocu.groovy +++ b/createDocu.groovy @@ -175,8 +175,8 @@ class Helper { def _docu = [], _value = [] docuLines.each { _docu << it } valueLines.each { _value << it} - step.parameters[param].docu = _docu*.trim().join(' ') - step.parameters[param].value = _value*.trim().join(' ') + step.parameters[param].docu = _docu*.trim().join(' ').trim() + step.parameters[param].value = _value*.trim().join(' ').trim() } docuLines.clear() valueLines.clear()