Skip to content

Commit

Permalink
0002424 - Lookup Table Router expression to support spaces as well as
Browse files Browse the repository at this point in the history
line breaks and carriage returns.
  • Loading branch information
chenson42 committed Oct 28, 2015
1 parent 7c7b8e1 commit 0ce7f80
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -118,7 +118,7 @@ public Map<String, String> parse(String routerExpression) throws SyntaxParsingEx
boolean valid = true;
Map<String, String> params = new HashMap<String, String>();
if (!StringUtils.isBlank(routerExpression)) {
String[] expTokens = routerExpression.split("\r\n|\r|\n|\\s");
String[] expTokens = routerExpression.split("\\s");
if (expTokens != null) {
for (String t : expTokens) {
if (!StringUtils.isBlank(t)) {
Expand Down

0 comments on commit 0ce7f80

Please sign in to comment.