changeset 1055:e6ca3cb52837

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 08 Nov 2016 01:08:20 -0700
parents 87275900646e
children 7d872cc72ec2
files src/org/eclipse/jetty/io/BufferUtil.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r 87275900646e -r e6ca3cb52837 src/org/eclipse/jetty/io/BufferUtil.java
--- a/src/org/eclipse/jetty/io/BufferUtil.java	Tue Nov 08 01:03:02 2016 -0700
+++ b/src/org/eclipse/jetty/io/BufferUtil.java	Tue Nov 08 01:08:20 2016 -0700
@@ -70,7 +70,7 @@
 
 		if (started)
 			return minus ? (-val) : val;
-		throw new NumberFormatException(buffer.toString());
+		throw new NumberFormatException(getString(buffer.duplicate()));
 	}
 	
 	/**