diff src/org/eclipse/jetty/io/JBuffer.java @ 1071:b4ba8a4d5a16

remove JBuffer.space()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Nov 2016 02:13:28 -0700
parents bbbda7c6e8ec
children 00704b28b9f1
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/JBuffer.java	Thu Nov 10 01:23:37 2016 -0700
+++ b/src/org/eclipse/jetty/io/JBuffer.java	Thu Nov 10 02:13:28 2016 -0700
@@ -85,15 +85,6 @@
 		bb.clear();
 	}
 
-	public void clearJ() {
-		bb.position(0);
-		bb.limit(0);
-	}
-
-	public int space() {
-		return bb.capacity() - bb.limit();
-	}
-
 
 	public void get(byte[] b, int offset, int length) {
 		bb.get(b,offset,length);