cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject git commit: r/m unused methods
Date Thu, 04 Apr 2013 18:34:35 GMT
Updated Branches:
  refs/heads/trunk 76c8fe467 -> 8a52dc072


r/m unused methods


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

Branch: refs/heads/trunk
Commit: 8a52dc0727578de0ceb59694b89950df669c1de0
Parents: 76c8fe4
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Thu Apr 4 13:34:31 2013 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Thu Apr 4 13:34:31 2013 -0500

----------------------------------------------------------------------
 .../cassandra/db/index/SecondaryIndexManager.java  |   18 ---------------
 1 files changed, 0 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8a52dc07/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java b/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
index 92853b1..b0b8392 100644
--- a/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
+++ b/src/java/org/apache/cassandra/db/index/SecondaryIndexManager.java
@@ -311,14 +311,6 @@ public class SecondaryIndexManager
         return indexesByColumn.get(column);
     }
 
-    private SecondaryIndex getIndexForFullColumnName(ByteBuffer column)
-    {
-        for (SecondaryIndex index : indexesByColumn.values())
-            if (index.indexes(column))
-                return index;
-        return null;
-    }
-
     /**
      * Remove the index
      */
@@ -357,16 +349,6 @@ public class SecondaryIndexManager
         return indexList;
     }
 
-    public ByteBuffer getColumnByIdxName(String idxName)
-    {
-        for (Map.Entry<ByteBuffer, SecondaryIndex> entry : indexesByColumn.entrySet())
-        {
-            if (entry.getValue().getIndexName().equals(idxName))
-                return entry.getKey();
-        }
-        throw new RuntimeException("Unknown Index Name: " + idxName);
-    }
-
     /**
      * @return all CFS from indexes which use a backing CFS internally (KEYS)
      */


Mime
View raw message