cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: remove dead code
Date Wed, 01 Apr 2015 03:54:05 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk e4b158f6a -> 7f0a8542d


remove dead code


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

Branch: refs/heads/trunk
Commit: 7f0a8542d684d3bd9b597b5eab332355315c4942
Parents: e4b158f
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Tue Mar 31 23:53:31 2015 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Tue Mar 31 23:53:31 2015 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/thrift/CassandraServer.java | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/7f0a8542/src/java/org/apache/cassandra/thrift/CassandraServer.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/thrift/CassandraServer.java b/src/java/org/apache/cassandra/thrift/CassandraServer.java
index e92e0c6..c6d2600 100644
--- a/src/java/org/apache/cassandra/thrift/CassandraServer.java
+++ b/src/java/org/apache/cassandra/thrift/CassandraServer.java
@@ -581,13 +581,6 @@ public class CassandraServer implements Cassandra.Iface
         }
     }
 
-    private static ByteBuffer getName(ColumnOrSuperColumn cosc)
-    {
-        return cosc.isSetSuper_column() ? cosc.super_column.name :
-                   (cosc.isSetColumn() ? cosc.column.name :
-                       (cosc.isSetCounter_column() ? cosc.counter_column.name : cosc.counter_super_column.name));
-    }
-
     public Map<ByteBuffer, Integer> multiget_count(List<ByteBuffer> keys, ColumnParent
column_parent, SlicePredicate predicate, ConsistencyLevel consistency_level)
     throws InvalidRequestException, UnavailableException, TimedOutException
     {


Mime
View raw message