diff src/org/eclipse/jetty/io/Buffer.java @ 1040:3e4949834f3e

remove Buffer.asArray()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 23:04:11 -0600
parents a7319f14ba1e
children 35e3c864d7a7
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/Buffer.java	Thu Nov 03 22:55:28 2016 -0600
+++ b/src/org/eclipse/jetty/io/Buffer.java	Thu Nov 03 23:04:11 2016 -0600
@@ -52,12 +52,6 @@
 	 */
 	byte[] array();
 	
-	/**
-	 * 
-	 * @return a <code>byte[]</code> value of the bytes from the getIndex to the putIndex.
-	 */
-	byte[] asArray();
-	
 	/** 
 	 * Get the underlying buffer. If this buffer wraps a backing buffer.
 	 * @return The root backing buffer or this if there is no backing buffer;