Mercurial Hosting > luan
changeset 1042:a62193321d6a
remove Buffer.reset()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 04 Nov 2016 01:03:25 -0600 |
parents | 35e3c864d7a7 |
children | ae1c92957739 |
files | src/org/eclipse/jetty/io/AbstractBuffer.java src/org/eclipse/jetty/io/Buffer.java |
diffstat | 2 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
diff -r 35e3c864d7a7 -r a62193321d6a src/org/eclipse/jetty/io/AbstractBuffer.java --- a/src/org/eclipse/jetty/io/AbstractBuffer.java Fri Nov 04 00:47:23 2016 -0600 +++ b/src/org/eclipse/jetty/io/AbstractBuffer.java Fri Nov 04 01:03:25 2016 -0600 @@ -349,11 +349,6 @@ return _put; } - public void reset() - { - if (markIndex() >= 0) setGetIndex(markIndex()); - } - public void rewind() { setGetIndex(0);
diff -r 35e3c864d7a7 -r a62193321d6a src/org/eclipse/jetty/io/Buffer.java --- a/src/org/eclipse/jetty/io/Buffer.java Fri Nov 04 00:47:23 2016 -0600 +++ b/src/org/eclipse/jetty/io/Buffer.java Fri Nov 04 01:03:25 2016 -0600 @@ -231,11 +231,6 @@ int putIndex(); /** - * Reset the current getIndex to the mark - */ - void reset(); - - /** * Set the buffers start getIndex. * @param newStart an <code>int</code> value */