clean unused method

This commit is contained in:
Shay Banon 2012-01-08 13:51:57 +02:00
parent 656c3989de
commit 3cd08e49e8
1 changed files with 0 additions and 7 deletions

View File

@ -59,13 +59,6 @@ public class ChannelBufferStreamInput extends StreamInput {
return bytes;
}
/**
* Returns the number of read bytes by this stream so far.
*/
public int readBytes() {
return buffer.readerIndex() - startIndex;
}
@Override
public int available() throws IOException {
return endIndex - buffer.readerIndex();