aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@topdesk.com>2021-12-21 01:24:15 +0100
committerRoel Spilker <r.spilker@topdesk.com>2021-12-21 01:24:15 +0100
commitd71a880d7f9a207e4a121d0b98b54018e9403197 (patch)
tree308c3f2b7f2fd31e079760d6a7a31a5ba18d5018 /src/core
parent834e562592d56dfa0c83a24d0d03aa9f60a50d01 (diff)
downloadlombok-d71a880d7f9a207e4a121d0b98b54018e9403197.tar.gz
lombok-d71a880d7f9a207e4a121d0b98b54018e9403197.tar.bz2
lombok-d71a880d7f9a207e4a121d0b98b54018e9403197.zip
Make javadoc generation platform independent
Diffstat (limited to 'src/core')
-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) {