Author: jbellis
Date: Mon Dec 28 15:43:41 2009
New Revision: 894190

URL: http://svn.apache.org/viewvc?rev=894190&view=rev
Log:
r/m unused method parameter.  patch by jbellis

Modified:
    
incubator/cassandra/trunk/src/java/org/apache/cassandra/io/SSTableReader.java

Modified: 
incubator/cassandra/trunk/src/java/org/apache/cassandra/io/SSTableReader.java
URL: 
http://svn.apache.org/viewvc/incubator/cassandra/trunk/src/java/org/apache/cassandra/io/SSTableReader.java?rev=894190&r1=894189&r2=894190&view=diff
==============================================================================
--- 
incubator/cassandra/trunk/src/java/org/apache/cassandra/io/SSTableReader.java 
(original)
+++ 
incubator/cassandra/trunk/src/java/org/apache/cassandra/io/SSTableReader.java 
Mon Dec 28 15:43:41 2009
@@ -252,7 +252,7 @@
     }
 
     /** get the position in the index file to start scanning to find the given 
key (at most indexInterval keys away) */
-    private long getIndexScanPosition(DecoratedKey decoratedKey, IPartitioner 
partitioner)
+    private long getIndexScanPosition(DecoratedKey decoratedKey)
     {
         assert indexPositions != null && indexPositions.size() > 0;
         int index = Collections.binarySearch(indexPositions, new 
KeyPosition(decoratedKey, -1));
@@ -286,7 +286,7 @@
                 return cachedPosition;
             }
         }
-        long start = getIndexScanPosition(decoratedKey, partitioner);
+        long start = getIndexScanPosition(decoratedKey);
         if (start < 0)
         {
             return -1;
@@ -331,7 +331,7 @@
     /** like getPosition, but if key is not found will return the location of 
the first key _greater_ than the desired one, or -1 if no such key exists. */
     public long getNearestPosition(DecoratedKey decoratedKey) throws 
IOException
     {
-        long start = getIndexScanPosition(decoratedKey, partitioner);
+        long start = getIndexScanPosition(decoratedKey);
         if (start < 0)
         {
             return 0;


Reply via email to