minor removal of dead code

patch by dbrosius reviewed by jbellis for CASSANDRA-5463
This commit is contained in:
Dave Brosius 2013-04-13 00:07:22 -04:00
parent ca63545887
commit 112014a4c8
1 changed files with 0 additions and 6 deletions

View File

@ -368,11 +368,6 @@ public class ColumnFamilyRecordReader extends RecordReader<ByteBuffer, SortedMap
return; 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 // remove ghosts when fetching all columns
if (isEmptyPredicate) if (isEmptyPredicate)
{ {
@ -436,7 +431,6 @@ public class ColumnFamilyRecordReader extends RecordReader<ByteBuffer, SortedMap
return; return;
KeyRange keyRange; KeyRange keyRange;
ByteBuffer startColumn;
if (totalRead == 0) if (totalRead == 0)
{ {
String startToken = split.getStartToken(); String startToken = split.getStartToken();