diff src/org/eclipse/jetty/io/View.java @ 1039:a7319f14ba1e

remove Buffer.isImmutable()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 22:55:28 -0600
parents eca26899c4bc
children 35e3c864d7a7
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/View.java	Thu Nov 03 22:16:11 2016 -0600
+++ b/src/org/eclipse/jetty/io/View.java	Thu Nov 03 22:55:28 2016 -0600
@@ -38,12 +38,11 @@
 	 */
 	public View(Buffer buffer, int mark, int get, int put,int access)
 	{
-		super(READWRITE);
-		_buffer=buffer.buffer();
+		super(access);
+		_buffer = buffer.buffer();
 		setPutIndex(put);
 		setGetIndex(get);
 		setMarkIndex(mark);
-		_access=access;
 	}
 	
 	public View()