diff options
author | Roel Spilker <r.spilker@topdesk.com> | 2021-12-21 01:24:15 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@topdesk.com> | 2021-12-21 01:24:15 +0100 |
commit | d71a880d7f9a207e4a121d0b98b54018e9403197 (patch) | |
tree | 308c3f2b7f2fd31e079760d6a7a31a5ba18d5018 /src/core/lombok | |
parent | 834e562592d56dfa0c83a24d0d03aa9f60a50d01 (diff) | |
download | lombok-d71a880d7f9a207e4a121d0b98b54018e9403197.tar.gz lombok-d71a880d7f9a207e4a121d0b98b54018e9403197.tar.bz2 lombok-d71a880d7f9a207e4a121d0b98b54018e9403197.zip |
Make javadoc generation platform independent
Diffstat (limited to 'src/core/lombok')
-rw-r--r-- | src/core/lombok/core/handlers/HandlerUtil.java | 2 |
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) { |