cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r1021617 - /cassandra/trunk/src/java/org/apache/cassandra/avro/CassandraServer.java
Date Tue, 12 Oct 2010 03:57:46 GMT
Author: eevans
Date: Tue Oct 12 03:57:46 2010
New Revision: 1021617

URL: http://svn.apache.org/viewvc?rev=1021617&view=rev
Log:
avro: fix for broken test (bad cast)

Patch by eevans

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/avro/CassandraServer.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/avro/CassandraServer.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/avro/CassandraServer.java?rev=1021617&r1=1021616&r2=1021617&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/avro/CassandraServer.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/avro/CassandraServer.java Tue Oct 12 03:57:46
2010
@@ -1027,7 +1027,7 @@ public class CassandraServer implements 
 
         try
         {
-            state().hasColumnFamilyAccess((String)columnFamily, Permission.WRITE);
+            state().hasColumnFamilyAccess(columnFamily.toString(), Permission.WRITE);
             schedule();
             StorageProxy.truncateBlocking(state().getKeyspace(), columnFamily.toString());
         }



Mime
View raw message