mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
clean unused method
This commit is contained in:
parent
656c3989de
commit
3cd08e49e8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user