Navigation Menu

Skip to content

Commit

Permalink
SYMMETRICDS-573 - ColumnMatchDataRouter incorrectly parses router exp…
Browse files Browse the repository at this point in the history
…ressions with column names that contain 'OR'. e.g. CONCENTRATOR_ID
  • Loading branch information
chenson42 committed Jan 25, 2012
1 parent 29bd0c3 commit 3242f55
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -171,7 +171,7 @@ protected List<Expression> getExpressions(Router router, SimpleRouterContext con
protected List<Expression> parse(String routerExpression) {
List<Expression> expressions = new ArrayList<Expression>();
if (!StringUtils.isBlank(routerExpression)) {
String[] expTokens = routerExpression.split("\r\n|\r|\n|\\s*or\\s*|\\s*OR\\s*");
String[] expTokens = routerExpression.split("\r\n|\r|\n|\\s+|or\\s+|\\s+OR\\s+");
if (expTokens != null) {
for (String t : expTokens) {
if (!StringUtils.isBlank(t)) {
Expand Down

0 comments on commit 3242f55

Please sign in to comment.