cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [15/19] git commit: remove invalid assert patch by Benedict Elliott Smith; reviewed by jbellis for CASSANDRA-6987
Date Tue, 22 Apr 2014 12:34:51 GMT
remove invalid assert
patch by Benedict Elliott Smith; reviewed by jbellis for CASSANDRA-6987


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

Branch: refs/heads/trunk
Commit: be2686dd94582abbdd20e0b1b3088d52eae4fbf2
Parents: 4305bd4
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Tue Apr 22 07:23:30 2014 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Tue Apr 22 07:23:30 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/be2686dd/src/java/org/apache/cassandra/db/Keyspace.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/Keyspace.java b/src/java/org/apache/cassandra/db/Keyspace.java
index 1c3df77..31e68c1 100644
--- a/src/java/org/apache/cassandra/db/Keyspace.java
+++ b/src/java/org/apache/cassandra/db/Keyspace.java
@@ -99,9 +99,9 @@ public class Keyspace
         return open(keyspaceName, Schema.instance, true);
     }
 
+    // to only be used by org.apache.cassandra.tools.Standalone* classes
     public static Keyspace openWithoutSSTables(String keyspaceName)
     {
-        assert initialized || keyspaceName.equals(SYSTEM_KS);
         return open(keyspaceName, Schema.instance, false);
     }
 


Mime
View raw message