aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2016-06-13 21:34:22 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2016-06-13 21:34:22 +0200
commitddd4e1feaee9fc4e450c7bed7e7938ff22455756 (patch)
treedf8babcd8e3e05a559047e50b6ba16eaa3facae6
parentcec8705c3b9fa6488d53bec5bb4eab27a6decf85 (diff)
downloadlombok-ddd4e1feaee9fc4e450c7bed7e7938ff22455756.tar.gz
lombok-ddd4e1feaee9fc4e450c7bed7e7938ff22455756.tar.bz2
lombok-ddd4e1feaee9fc4e450c7bed7e7938ff22455756.zip
Let's filter out the \r part of ye olde DOS newline in config.
-rw-r--r--src/core/lombok/core/configuration/ConfigurationParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/core/configuration/ConfigurationParser.java b/src/core/lombok/core/configuration/ConfigurationParser.java
index 29a6741b..e80793c1 100644
--- a/src/core/lombok/core/configuration/ConfigurationParser.java
+++ b/src/core/lombok/core/configuration/ConfigurationParser.java
@@ -27,7 +27,7 @@ import java.util.regex.Pattern;
public class ConfigurationParser {
private static final Pattern LINE = Pattern.compile("(?:clear\\s+([^=]+))|(?:(\\S*?)\\s*([-+]?=)\\s*(.*?))");
- private static final Pattern NEWLINE_FINDER = Pattern.compile("^[\t ]*(.*?)[\t ]*$", Pattern.MULTILINE);
+ private static final Pattern NEWLINE_FINDER = Pattern.compile("^[\t ]*(.*?)[\t\r ]*$", Pattern.MULTILINE);
private ConfigurationProblemReporter reporter;