diff src/org/eclipse/jetty/io/BufferUtil.java @ 1074:6b7ff30bb990

rename putQ() to put()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Nov 2016 02:37:15 -0700
parents 9d357b9e4bcb
children ebb0f1343ef6
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/BufferUtil.java	Thu Nov 10 02:33:09 2016 -0700
+++ b/src/org/eclipse/jetty/io/BufferUtil.java	Thu Nov 10 02:37:15 2016 -0700
@@ -75,18 +75,18 @@
 
 		if (n < 0)
 		{
-			buffer.putQ((byte)'-');
+			buffer.put((byte)'-');
 
 			if (n == Integer.MIN_VALUE)
 			{
-				buffer.putQ((byte)(0x7f&'8'));
-				buffer.putQ((byte)(0x7f&'0'));
-				buffer.putQ((byte)(0x7f&'0'));
-				buffer.putQ((byte)(0x7f&'0'));
-				buffer.putQ((byte)(0x7f&'0'));
-				buffer.putQ((byte)(0x7f&'0'));
-				buffer.putQ((byte)(0x7f&'0'));
-				buffer.putQ((byte)(0x7f&'0'));
+				buffer.put((byte)(0x7f&'8'));
+				buffer.put((byte)(0x7f&'0'));
+				buffer.put((byte)(0x7f&'0'));
+				buffer.put((byte)(0x7f&'0'));
+				buffer.put((byte)(0x7f&'0'));
+				buffer.put((byte)(0x7f&'0'));
+				buffer.put((byte)(0x7f&'0'));
+				buffer.put((byte)(0x7f&'0'));
 				
 				return;
 			}
@@ -95,7 +95,7 @@
 
 		if (n < 0x10)
 		{
-			buffer.putQ(DIGIT[n]);
+			buffer.put(DIGIT[n]);
 		}
 		else
 		{
@@ -106,13 +106,13 @@
 				if (n < hexDivisors[i])
 				{
 					if (started)
-						buffer.putQ((byte)'0');
+						buffer.put((byte)'0');
 					continue;
 				}
 
 				started= true;
 				int d = n / hexDivisors[i];
-				buffer.putQ(DIGIT[d]);
+				buffer.put(DIGIT[d]);
 				n= n - d * hexDivisors[i];
 			}
 		}
@@ -122,11 +122,11 @@
 	{
 		if (n < 0)
 		{
-			buffer.putQ((byte)'-');
+			buffer.put((byte)'-');
 
 			if (n == Long.MIN_VALUE)
 			{
-				buffer.putQ((byte)'9');
+				buffer.put((byte)'9');
 				n = 223372036854775808L;
 			}
 			else
@@ -135,7 +135,7 @@
 
 		if (n < 10)
 		{
-			buffer.putQ(DIGIT[(int)n]);
+			buffer.put(DIGIT[(int)n]);
 		}
 		else
 		{
@@ -146,13 +146,13 @@
 				if (n < decDivisorsL[i])
 				{
 					if (started)
-						buffer.putQ((byte)'0');
+						buffer.put((byte)'0');
 					continue;
 				}
 
 				started= true;
 				long d= n / decDivisorsL[i];
-				buffer.putQ(DIGIT[(int)d]);
+				buffer.put(DIGIT[(int)d]);
 				n= n - d * decDivisorsL[i];
 			}
 		}