aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lombok')
-rw-r--r--src/core/lombok/core/handlers/HandlerUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/core/handlers/HandlerUtil.java b/src/core/lombok/core/handlers/HandlerUtil.java
index c00b5dca..15f5702a 100644
--- a/src/core/lombok/core/handlers/HandlerUtil.java
+++ b/src/core/lombok/core/handlers/HandlerUtil.java
@@ -794,7 +794,7 @@ public class HandlerUtil {
public static String stripLinesWithTagFromJavadoc(String javadoc, JavadocTag tag) {
if (javadoc == null || javadoc.isEmpty()) return javadoc;
- return tag.pattern.matcher(javadoc).replaceAll("");
+ return tag.pattern.matcher(javadoc).replaceAll("").trim();
}
public static String stripSectionsFromJavadoc(String javadoc) {