diff src/org/eclipse/jetty/http/HttpParser.java @ 1029:4e5e9e3c25b3

remove Buffer.equalsIgnoreCase()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 00:55:20 -0600
parents 2ea54e6117c3
children eca26899c4bc
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpParser.java	Thu Nov 03 00:23:04 2016 -0600
+++ b/src/org/eclipse/jetty/http/HttpParser.java	Thu Nov 03 00:55:20 2016 -0600
@@ -210,7 +210,7 @@
 					{
 						if (_buffer.length()>0 && !_headResponse)
 						{
-							Buffer chunk=_buffer.get(_buffer.length());
+							Buffer chunk = _buffer.get(_buffer.length());
 							_contentPosition += chunk.length();
 							_contentView.update(chunk);
 							_handler.content(chunk); // May recurse here
@@ -1074,7 +1074,7 @@
 			throw e;
 		}
 
-		return _contentView.length()>0?_contentView:null;
+		return _contentView.length()>0 ? _contentView : null;
 	}
 
 	/* ------------------------------------------------------------ */