comparison src/org/eclipse/jetty/io/nio/IndirectNIOBuffer.java @ 1030:80cad9086593

remove Buffer.isVolatile()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 01:10:09 -0600
parents 2712133d5bce
children
comparison
equal deleted inserted replaced
1029:4e5e9e3c25b3 1030:80cad9086593
27 { 27 {
28 private final ByteBuffer _buf; 28 private final ByteBuffer _buf;
29 29
30 public IndirectNIOBuffer(int size) 30 public IndirectNIOBuffer(int size)
31 { 31 {
32 super(size,READWRITE,NON_VOLATILE); 32 super(size,READWRITE);
33 _buf = ByteBuffer.wrap(_bytes); 33 _buf = ByteBuffer.wrap(_bytes);
34 _buf.position(0); 34 _buf.position(0);
35 _buf.limit(_buf.capacity()); 35 _buf.limit(_buf.capacity());
36 } 36 }
37 37