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/trunk Commit: 3c229c0d90ecfa6cf011e495be4cc73a2f97c389 Parents: 00a6839 Author: Jonathan Ellis <jbel...@apache.org> Authored: Thu Nov 7 20:38:20 2013 -0600 Committer: Jonathan Ellis <jbel...@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'");