diff src/org/eclipse/jetty/io/Buffer.java @ 1027:6d17a257b03f

remove Buffer.asImmutableBuffer()
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 02 Nov 2016 23:58:37 -0600
parents 6647dbc8be71
children 4e5e9e3c25b3
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/Buffer.java	Wed Nov 02 23:52:33 2016 -0600
+++ b/src/org/eclipse/jetty/io/Buffer.java	Wed Nov 02 23:58:37 2016 -0600
@@ -74,12 +74,6 @@
 	Buffer asReadOnlyBuffer();
 
 	/**
-	 *
-	 * @return an immutable version of this <code>Buffer</code>.
-	 */
-	Buffer asImmutableBuffer();
-
-	/**
 	 * 
 	 * The capacity of the buffer. This is the maximum putIndex that may be set.
 	 * @return an <code>int</code> value
@@ -345,10 +339,8 @@
 	int readFrom(InputStream in, int max) throws IOException;
 	
 
-	/* ------------------------------------------------------------ */
 	String toString(String charset);
 	
-	/* ------------------------------------------------------------ */
 	String toString(Charset charset);
 
 }