comparison 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
comparison
equal deleted inserted replaced
1038:b71ad168fe34 1039:a7319f14ba1e
36 * @param put The initial value of the {@link Buffer#putIndex put index} 36 * @param put The initial value of the {@link Buffer#putIndex put index}
37 * @param access The access level - one of the constants from {@link Buffer}. 37 * @param access The access level - one of the constants from {@link Buffer}.
38 */ 38 */
39 public View(Buffer buffer, int mark, int get, int put,int access) 39 public View(Buffer buffer, int mark, int get, int put,int access)
40 { 40 {
41 super(READWRITE); 41 super(access);
42 _buffer=buffer.buffer(); 42 _buffer = buffer.buffer();
43 setPutIndex(put); 43 setPutIndex(put);
44 setGetIndex(get); 44 setGetIndex(get);
45 setMarkIndex(mark); 45 setMarkIndex(mark);
46 _access=access;
47 } 46 }
48 47
49 public View() 48 public View()
50 { 49 {
51 super(READWRITE); 50 super(READWRITE);