Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/JBuffer.java @ 1059:013939bfc9e8
remove JBuffer.poke()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 08 Nov 2016 05:39:33 -0700 |
parents | 87275900646e |
children | 957f758dcffc |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/JBuffer.java Tue Nov 08 04:17:22 2016 -0700 +++ b/src/org/eclipse/jetty/io/JBuffer.java Tue Nov 08 05:39:33 2016 -0700 @@ -184,21 +184,6 @@ } - private JBuffer pokeBuffer(int index) { - JBuffer dup = duplicate(); - dup.setPutIndex(index); - return dup; - } - - public int poke(int index, byte b[], int offset, int length) { - return pokeBuffer(index).put(b,offset,length); - } - - public void poke(int index, byte b) { - pokeBuffer(index).put(b); - } - - public byte get(int index) { return bb.get(index); }