diff src/org/eclipse/jetty/io/nio/ChannelEndPoint.java @ 986:4f2d04c72781

remove RandomAccessFileBuffer
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 17 Oct 2016 04:44:53 -0600
parents bdb6eb0fbf93
children 0e96ce3db20a
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java	Sun Oct 16 23:47:23 2016 -0600
+++ b/src/org/eclipse/jetty/io/nio/ChannelEndPoint.java	Mon Oct 17 04:44:53 2016 -0600
@@ -246,12 +246,6 @@
 					buffer.skip(len);
 			}
 		}
-		else if (buf instanceof RandomAccessFileBuffer)
-		{
-			len = ((RandomAccessFileBuffer)buf).writeTo(_channel,buffer.getIndex(),buffer.length());
-			if (len>0)
-				buffer.skip(len);
-		}
 		else if (buffer.array()!=null)
 		{
 			ByteBuffer b = ByteBuffer.wrap(buffer.array(), buffer.getIndex(), buffer.length());