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 sstable field
Date Sun, 19 May 2013 00:24:15 GMT
Updated Branches:
  refs/heads/trunk 8b410078a -> cfe4c5963


remove unused sstable field


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

Branch: refs/heads/trunk
Commit: cfe4c5963b8bfde21f197fc25e223bae88c94e0e
Parents: 8b41007
Author: Dave Brosius <dbrosius@apache.org>
Authored: Sat May 18 20:23:48 2013 -0400
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Sat May 18 20:23:48 2013 -0400

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/cfe4c596/src/java/org/apache/cassandra/db/columniterator/SSTableSliceIterator.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/columniterator/SSTableSliceIterator.java b/src/java/org/apache/cassandra/db/columniterator/SSTableSliceIterator.java
index 5d5279a..5cfdd27 100644
--- a/src/java/org/apache/cassandra/db/columniterator/SSTableSliceIterator.java
+++ b/src/java/org/apache/cassandra/db/columniterator/SSTableSliceIterator.java
@@ -34,11 +34,9 @@ public class SSTableSliceIterator implements OnDiskAtomIterator
 {
     private final OnDiskAtomIterator reader;
     private final DecoratedKey key;
-    private final SSTableReader sstable;
 
     public SSTableSliceIterator(SSTableReader sstable, DecoratedKey key, ColumnSlice[] slices,
boolean reversed)
     {
-        this.sstable = sstable;
         this.key = key;
         RowIndexEntry indexEntry = sstable.getPosition(key, SSTableReader.Operator.EQ);
         this.reader = indexEntry == null ? null : createReader(sstable, indexEntry, null,
slices, reversed);
@@ -58,7 +56,6 @@ public class SSTableSliceIterator implements OnDiskAtomIterator
      */
     public SSTableSliceIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key,
ColumnSlice[] slices, boolean reversed, RowIndexEntry indexEntry)
     {
-        this.sstable = sstable;
         this.key = key;
         reader = createReader(sstable, indexEntry, file, slices, reversed);
     }


Mime
View raw message