diff src/org/eclipse/jetty/io/BufferUtil.java @ 1052:4a2489f1d5fe

remove JBuffer.peek()
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 08 Nov 2016 00:27:16 -0700
parents 2b769da7f67d
children 87275900646e
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/BufferUtil.java	Tue Nov 08 00:18:45 2016 -0700
+++ b/src/org/eclipse/jetty/io/BufferUtil.java	Tue Nov 08 00:27:16 2016 -0700
@@ -48,7 +48,7 @@
 		boolean minus= false;
 		for (int i= buffer.getIndex(); i < buffer.putIndex(); i++)
 		{
-			byte b= buffer.peek(i);
+			byte b = buffer.get(i);
 			if (b <= SPACE)
 			{
 				if (started)