From ce4be12c9afb8f7eeefee9f7ab4636cfb6134a2c Mon Sep 17 00:00:00 2001 From: "pabs@pablotron.org" Date: Thu, 18 Dec 2014 16:04:26 -0500 Subject: trim whitespace from argument list --- java/pablotron/luigi/Parser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') 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 -- cgit v1.2.3