cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject [2/4] git commit: minor removal of dead code patch by dbrosius reviewed by jbellis for CASSANDRA-5463
Date Sat, 13 Apr 2013 04:12:11 GMT
minor removal of dead code
patch by dbrosius reviewed by jbellis for CASSANDRA-5463


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

Branch: refs/heads/trunk
Commit: 112014a4c8e2a164299db069a4bf9d1a0cbdcb26
Parents: ca63545
Author: Dave Brosius <dbrosius@apache.org>
Authored: Sat Apr 13 00:07:22 2013 -0400
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Sat Apr 13 00:07:22 2013 -0400

----------------------------------------------------------------------
 .../cassandra/hadoop/ColumnFamilyRecordReader.java |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/112014a4/src/java/org/apache/cassandra/hadoop/ColumnFamilyRecordReader.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hadoop/ColumnFamilyRecordReader.java b/src/java/org/apache/cassandra/hadoop/ColumnFamilyRecordReader.java
index a40e6c5..e1ce326 100644
--- a/src/java/org/apache/cassandra/hadoop/ColumnFamilyRecordReader.java
+++ b/src/java/org/apache/cassandra/hadoop/ColumnFamilyRecordReader.java
@@ -368,11 +368,6 @@ public class ColumnFamilyRecordReader extends RecordReader<ByteBuffer,
SortedMap
                     return;
                 }
 
-                // prepare for the next slice to be read
-                KeySlice lastRow = rows.get(rows.size() - 1);
-                ByteBuffer rowkey = lastRow.key;
-                startToken = partitioner.getTokenFactory().toString(partitioner.getToken(rowkey));
-
                 // remove ghosts when fetching all columns
                 if (isEmptyPredicate)
                 {
@@ -436,7 +431,6 @@ public class ColumnFamilyRecordReader extends RecordReader<ByteBuffer,
SortedMap
                 return;
 
             KeyRange keyRange;
-            ByteBuffer startColumn;
             if (totalRead == 0)
             {
                 String startToken = split.getStartToken();


Mime
View raw message