diff src/org/eclipse/jetty/io/JBuffer.java @ 1072:00704b28b9f1

remove JBuffer.skip()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Nov 2016 02:29:01 -0700
parents b4ba8a4d5a16
children 6e511ea557b4
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/JBuffer.java	Thu Nov 10 02:13:28 2016 -0700
+++ b/src/org/eclipse/jetty/io/JBuffer.java	Thu Nov 10 02:29:01 2016 -0700
@@ -133,11 +133,6 @@
 		return put(b,0,b.length);
 	}
 
-	public void skip(int n) {
-		if (remaining() < n) n = remaining();
-		bb.position(bb.position() + n);
-	}
-
 	private final byte[] asArray() {
 		byte[] bytes = new byte[remaining()];
 		bb.duplicate().get(bytes);