aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorpabs@pablotron.org <pabs@pablotron.org>2014-12-18 16:04:26 -0500
committerpabs@pablotron.org <pabs@pablotron.org>2014-12-18 16:04:26 -0500
commitce4be12c9afb8f7eeefee9f7ab4636cfb6134a2c (patch)
tree074c925aef61fb7d46d6c700ab84bff728e36775 /java
parentdfc94a5739c99ed0e307fefaeb0dd612a14e8e03 (diff)
downloadluigi-template-ce4be12c9afb8f7eeefee9f7ab4636cfb6134a2c.tar.bz2
luigi-template-ce4be12c9afb8f7eeefee9f7ab4636cfb6134a2c.zip
trim whitespace from argument list
Diffstat (limited to 'java')
-rw-r--r--java/pablotron/luigi/Parser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/pablotron/luigi/Parser.java b/java/pablotron/luigi/Parser.java
index 0daef25..6bf2638 100644
--- a/java/pablotron/luigi/Parser.java
+++ b/java/pablotron/luigi/Parser.java
@@ -105,7 +105,7 @@ public final class Parser {
throw new LuigiError("invalid filter: " + f);
// append new filter reference to result
- r.add(new FilterReference(m.group(1), RE_DELIM_ARGS.split(m.group(2))));
+ r.add(new FilterReference(m.group(1), RE_DELIM_ARGS.split(m.group(2).trim())));
}
// return result