Repository: cassandra Updated Branches: refs/heads/cassandra-2.1 c643bbc8d -> f57ec8c46 refs/heads/trunk 827ad2438 -> 62ee1473b
ninja-fix literal escape string Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f57ec8c4 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f57ec8c4 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f57ec8c4 Branch: refs/heads/cassandra-2.1 Commit: f57ec8c464cc3941510cfb996e0335f7a5330b49 Parents: c643bbc Author: Benedict Elliott Smith <[email protected]> Authored: Wed Feb 11 16:39:06 2015 +0000 Committer: Benedict Elliott Smith <[email protected]> Committed: Wed Feb 11 16:39:06 2015 +0000 ---------------------------------------------------------------------- .../src/org/apache/cassandra/stress/settings/StressSettings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/f57ec8c4/tools/stress/src/org/apache/cassandra/stress/settings/StressSettings.java ---------------------------------------------------------------------- diff --git a/tools/stress/src/org/apache/cassandra/stress/settings/StressSettings.java b/tools/stress/src/org/apache/cassandra/stress/settings/StressSettings.java index de0f6f6..335ca92 100644 --- a/tools/stress/src/org/apache/cassandra/stress/settings/StressSettings.java +++ b/tools/stress/src/org/apache/cassandra/stress/settings/StressSettings.java @@ -239,8 +239,8 @@ public class StressSettings implements Serializable first = false; } return sb.toString() - .replaceAll("\s+([,=()])", "$1") - .replaceAll("([,=(])\s+", "$1") + .replaceAll("\\s+([,=()])", "$1") + .replaceAll("([,=(])\\s+", "$1") .split(" +"); }
