Repository: cassandra
Updated Branches:
  refs/heads/trunk b3c4c0a2a -> aa7c7362a


simplify


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

Branch: refs/heads/trunk
Commit: aa7c7362a94dd3da81ff521589cd2e6f998ae4c1
Parents: b3c4c0a
Author: Dave Brosius <dbros...@mebigfatguy.com>
Authored: Fri Feb 27 02:44:00 2015 -0500
Committer: Dave Brosius <dbros...@mebigfatguy.com>
Committed: Fri Feb 27 02:44:00 2015 -0500

----------------------------------------------------------------------
 .../apache/cassandra/io/sstable/format/big/BigTableScanner.java   | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/aa7c7362/src/java/org/apache/cassandra/io/sstable/format/big/BigTableScanner.java
----------------------------------------------------------------------
diff --git 
a/src/java/org/apache/cassandra/io/sstable/format/big/BigTableScanner.java 
b/src/java/org/apache/cassandra/io/sstable/format/big/BigTableScanner.java
index 2e28d0b..b270b2d 100644
--- a/src/java/org/apache/cassandra/io/sstable/format/big/BigTableScanner.java
+++ b/src/java/org/apache/cassandra/io/sstable/format/big/BigTableScanner.java
@@ -267,19 +267,16 @@ public class BigTableScanner implements ISSTableScanner
                     currentEntry = nextEntry;
                 }
 
-                long readEnd;
                 if (ifile.isEOF())
                 {
                     nextEntry = null;
                     nextKey = null;
-                    readEnd = dfile.length();
                 }
                 else
                 {
                     // we need the position of the start of the next key, 
regardless of whether it falls in the current range
                     nextKey = 
sstable.partitioner.decorateKey(ByteBufferUtil.readWithShortLength(ifile));
                     nextEntry = rowIndexEntrySerializer.deserialize(ifile, 
sstable.descriptor.version);
-                    readEnd = nextEntry.position;
 
                     if (!currentRange.contains(nextKey))
                     {

Reply via email to