cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [1/3] git commit: fix regexp
Date Fri, 08 Nov 2013 02:40:12 GMT
Updated Branches:
  refs/heads/cassandra-2.0 00a68398f -> 3c229c0d9
  refs/heads/trunk 26307f96c -> 99ad43a8d


fix regexp


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/3c229c0d
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/3c229c0d
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/3c229c0d

Branch: refs/heads/cassandra-2.0
Commit: 3c229c0d90ecfa6cf011e495be4cc73a2f97c389
Parents: 00a6839
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Thu Nov 7 20:38:20 2013 -0600
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Thu Nov 7 20:38:26 2013 -0600

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/commitlog/CommitLogReplayer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/3c229c0d/src/java/org/apache/cassandra/db/commitlog/CommitLogReplayer.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/commitlog/CommitLogReplayer.java b/src/java/org/apache/cassandra/db/commitlog/CommitLogReplayer.java
index 74daecb..44713ad 100644
--- a/src/java/org/apache/cassandra/db/commitlog/CommitLogReplayer.java
+++ b/src/java/org/apache/cassandra/db/commitlog/CommitLogReplayer.java
@@ -127,7 +127,7 @@ public class CommitLogReplayer
             Multimap<String, String> toReplay = HashMultimap.create();
             for (String rawPair : System.getProperty("cassandra.replayList").split(","))
             {
-                String[] pair = rawPair.trim().split(".");
+                String[] pair = rawPair.trim().split("\\.");
                 if (pair.length != 2)
                     throw new IllegalArgumentException("Each table to be replayed must be
fully qualified with keyspace name, e.g., 'system.peers'");
 


Mime
View raw message