cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject git commit: remove dead assignment
Date Tue, 23 Jul 2013 00:32:30 GMT
Updated Branches:
  refs/heads/trunk 1c686b217 -> 0396ff478


remove dead assignment


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

Branch: refs/heads/trunk
Commit: 0396ff4785ff98956c4aa161cece9fb3d2c8a9fe
Parents: 1c686b2
Author: Dave Brosius <dbrosius@apache.org>
Authored: Mon Jul 22 01:55:34 2013 -0400
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Mon Jul 22 20:27:11 2013 -0400

----------------------------------------------------------------------
 src/java/org/apache/cassandra/io/sstable/SSTableReader.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/0396ff47/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/sstable/SSTableReader.java b/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
index 95db9f9..9f10061 100644
--- a/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
+++ b/src/java/org/apache/cassandra/io/sstable/SSTableReader.java
@@ -46,7 +46,6 @@ import org.apache.cassandra.db.RowPosition;
 import org.apache.cassandra.db.columniterator.OnDiskAtomIterator;
 import org.apache.cassandra.db.commitlog.ReplayPosition;
 import org.apache.cassandra.db.compaction.ICompactionScanner;
-import org.apache.cassandra.db.filter.QueryFilter;
 import org.apache.cassandra.db.index.SecondaryIndex;
 import org.apache.cassandra.dht.*;
 import org.apache.cassandra.io.compress.CompressedRandomAccessReader;
@@ -207,7 +206,6 @@ public class SSTableReader extends SSTable
         assert components.contains(Component.DATA) : "Data component is missing for sstable"
+ descriptor;
         assert components.contains(Component.PRIMARY_INDEX) : "Primary index component is
missing for sstable " + descriptor;
 
-        long start = System.nanoTime();
         logger.info("Opening {} ({} bytes)", descriptor, new File(descriptor.filenameFor(COMPONENT_DATA)).length());
 
         SSTableMetadata sstableMetadata = SSTableMetadata.serializer.deserialize(descriptor).left;


Mime
View raw message