diff src/org/eclipse/jetty/io/BuffersFactory.java @ 1006:58a9c4a42292

simplify Buffers code
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 23 Oct 2016 17:21:20 -0600
parents 688b875e18ba
children
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/BuffersFactory.java	Sun Oct 23 02:42:05 2016 -0600
+++ b/src/org/eclipse/jetty/io/BuffersFactory.java	Sun Oct 23 17:21:20 2016 -0600
@@ -20,10 +20,10 @@
 
 public class BuffersFactory
 {
-	public static Buffers newBuffers(Buffers.Type headerType, int headerSize, Buffers.Type bufferType, int bufferSize, Buffers.Type otherType,int maxSize)
+	public static Buffers newBuffers(Buffers.Type headerType, int headerSize, Buffers.Type bufferType, int bufferSize,int maxSize)
 	{
 		if (maxSize<0)
 			throw new RuntimeException();
-		return new PooledBuffers(headerType,headerSize,bufferType,bufferSize,otherType,maxSize);
+		return new PooledBuffers(headerType,headerSize,bufferType,bufferSize,maxSize);
 	}
 }