changeset 1043:ae1c92957739

remove Buffer.mark(int)
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 04 Nov 2016 01:10:12 -0600
parents a62193321d6a
children dd71a59fcf72
files src/org/eclipse/jetty/io/AbstractBuffer.java src/org/eclipse/jetty/io/Buffer.java
diffstat 2 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/AbstractBuffer.java	Fri Nov 04 01:03:25 2016 -0600
+++ b/src/org/eclipse/jetty/io/AbstractBuffer.java	Fri Nov 04 01:10:12 2016 -0600
@@ -225,11 +225,6 @@
 		setMarkIndex(_get - 1);
 	}
 
-	public void mark(int offset)
-	{
-		setMarkIndex(_get + offset);
-	}
-
 	public int markIndex()
 	{
 		return _mark;
--- a/src/org/eclipse/jetty/io/Buffer.java	Fri Nov 04 01:03:25 2016 -0600
+++ b/src/org/eclipse/jetty/io/Buffer.java	Fri Nov 04 01:10:12 2016 -0600
@@ -137,12 +137,6 @@
 	void mark();
 	
 	/**
-	 * Set the mark relative to the current getIndex
-	 * @param offset an <code>int</code> value to add to the current getIndex to obtain the mark value.
-	 */
-	void mark(int offset);
-
-	/**
 	 * The current index of the mark.
 	 * @return an <code>int</code> index in the buffer or -1 if the mark is not set.
 	 */