cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: remove unused fields (i, sstable) in SimpleSliceReader
Date Thu, 03 Jan 2013 04:52:13 GMT
Updated Branches:
  refs/heads/trunk f6a8cc53f -> a56906ada


remove unused fields (i, sstable) in SimpleSliceReader


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

Branch: refs/heads/trunk
Commit: a56906ada6e4f075a83776df40a03620efbcba53
Parents: f6a8cc5
Author: Dave Brosius <dbrosius@apache.org>
Authored: Wed Jan 2 23:47:28 2013 -0500
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Wed Jan 2 23:47:28 2013 -0500

----------------------------------------------------------------------
 .../db/columniterator/SimpleSliceReader.java       |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a56906ad/src/java/org/apache/cassandra/db/columniterator/SimpleSliceReader.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/columniterator/SimpleSliceReader.java b/src/java/org/apache/cassandra/db/columniterator/SimpleSliceReader.java
index 652d60c..a1a0be4 100644
--- a/src/java/org/apache/cassandra/db/columniterator/SimpleSliceReader.java
+++ b/src/java/org/apache/cassandra/db/columniterator/SimpleSliceReader.java
@@ -38,19 +38,16 @@ import org.apache.cassandra.utils.ByteBufferUtil;
 
 class SimpleSliceReader extends AbstractIterator<OnDiskAtom> implements OnDiskAtomIterator
 {
-    private final SSTableReader sstable;
     private final FileDataInput file;
     private final boolean needsClosing;
     private final ByteBuffer finishColumn;
     private final AbstractType<?> comparator;
     private final ColumnFamily emptyColumnFamily;
-    private int i;
     private FileMark mark;
     private final Iterator<OnDiskAtom> atomIterator;
 
     public SimpleSliceReader(SSTableReader sstable, RowIndexEntry indexEntry, FileDataInput
input, ByteBuffer finishColumn)
     {
-        this.sstable = sstable;
         this.finishColumn = finishColumn;
         this.comparator = sstable.metadata.comparator;
         try


Mime
View raw message