diff src/org/eclipse/jetty/server/Connector.java @ 1047:1accf965d51a

remove other Buffer implementations
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 07 Nov 2016 22:51:09 -0700
parents a8c92b0a08ed
children 2b769da7f67d
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Connector.java	Mon Nov 07 22:39:39 2016 -0700
+++ b/src/org/eclipse/jetty/server/Connector.java	Mon Nov 07 22:51:09 2016 -0700
@@ -33,8 +33,6 @@
 import org.eclipse.jetty.io.BufferUtil;
 import org.eclipse.jetty.io.EndPoint;
 import org.eclipse.jetty.io.EofException;
-import org.eclipse.jetty.io.nio.DirectNIOBuffer;
-import org.eclipse.jetty.io.nio.IndirectNIOBuffer;
 import org.eclipse.jetty.util.component.AggregateLifeCycle;
 import org.eclipse.jetty.util.component.Dumpable;
 import org.slf4j.Logger;
@@ -254,7 +252,6 @@
 	// my own buffers
 
 	protected Buffer newBuffer(int size) {
-//		return new DirectNIOBuffer(size);
 		return BufferUtil.newDirectBuffer(size);
 	}
 
@@ -269,7 +266,6 @@
 
 		@Override
 		public Buffer getHeader() {
-//			return new IndirectNIOBuffer(headerSize);
 			return BufferUtil.newBuffer(headerSize);
 		}