You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2012/08/29 00:28:32 UTC

[1/2] git commit: r/m unused SSTII.echoData

Updated Branches:
  refs/heads/trunk 70754af41 -> 501d7134f


r/m unused SSTII.echoData


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

Branch: refs/heads/trunk
Commit: 501d7134f587c333034ccb2607502c23c61d3efd
Parents: b0c2fa7
Author: Jonathan Ellis <jb...@apache.org>
Authored: Tue Aug 28 15:53:03 2012 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Tue Aug 28 17:27:57 2012 -0500

----------------------------------------------------------------------
 .../io/sstable/SSTableIdentityIterator.java        |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/501d7134/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java b/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java
index f5a9421..4710689 100644
--- a/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java
+++ b/src/java/org/apache/cassandra/io/sstable/SSTableIdentityIterator.java
@@ -227,17 +227,6 @@ public class SSTableIdentityIterator implements Comparable<SSTableIdentityIterat
         }
     }
 
-    public void echoData(DataOutput out) throws IOException
-    {
-        if (!(input instanceof RandomAccessReader))
-            throw new UnsupportedOperationException();
-
-        ((RandomAccessReader) input).seek(dataStart);
-        inputWithTracker.reset(0);
-        while (inputWithTracker.getBytesRead() < dataSize)
-            out.write(inputWithTracker.readByte());
-    }
-
     public ColumnFamily getColumnFamilyWithColumns() throws IOException
     {
         assert inputWithTracker.getBytesRead() == headerSize();