mirror of https://github.com/apache/cassandra
minor removal of dead code
patch by dbrosius reviewed by jbellis for CASSANDRA-5463
This commit is contained in:
parent
ca63545887
commit
112014a4c8
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue