diff src/org/eclipse/jetty/http/AbstractGenerator.java @ 1039:a7319f14ba1e

remove Buffer.isImmutable()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 22:55:28 -0600
parents b71ad168fe34
children a8c92b0a08ed
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/AbstractGenerator.java	Thu Nov 03 22:16:11 2016 -0600
+++ b/src/org/eclipse/jetty/http/AbstractGenerator.java	Thu Nov 03 22:55:28 2016 -0600
@@ -245,7 +245,7 @@
 	{
 		if (_buffer != null && _buffer.space()==0)
 		{
-			if (_buffer.remaining()==0 && !_buffer.isImmutable())
+			if (_buffer.remaining()==0)
 				_buffer.compact();
 			return _buffer.space()==0;
 		}