You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by be...@apache.org on 2015/02/11 17:39:29 UTC

[2/3] cassandra git commit: ninja-fix literal escape string

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/trunk
Commit: f57ec8c464cc3941510cfb996e0335f7a5330b49
Parents: c643bbc
Author: Benedict Elliott Smith <be...@apache.org>
Authored: Wed Feb 11 16:39:06 2015 +0000
Committer: Benedict Elliott Smith <be...@apache.org>
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(" +");
     }