diff src/org/eclipse/jetty/http/AbstractGenerator.java @ 1035:898774c2cd87

remove HttpGenerator.returnBuffers()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 21:09:57 -0600
parents 563458c4dc93
children b87f97f6418a
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/AbstractGenerator.java	Thu Nov 03 21:02:59 2016 -0600
+++ b/src/org/eclipse/jetty/http/AbstractGenerator.java	Thu Nov 03 21:09:57 2016 -0600
@@ -108,19 +108,6 @@
 		return _endp.isOpen();
 	}
 
-	public final void returnBuffers()
-	{
-		if (_buffer!=null && _buffer.length()==0)
-		{
-			_buffer=null;
-		}
-
-		if (_header!=null && _header.length()==0)
-		{
-			_header=null;
-		}
-	}
-
 	public final void resetBuffer()
 	{
 		if(_state>=STATE_FLUSHING)