Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/Buffer.java @ 1030:80cad9086593
remove Buffer.isVolatile()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 03 Nov 2016 01:10:09 -0600 |
parents | 4e5e9e3c25b3 |
children | 921c25a05eaa |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/Buffer.java Thu Nov 03 00:55:20 2016 -0600 +++ b/src/org/eclipse/jetty/io/Buffer.java Thu Nov 03 01:10:09 2016 -0600 @@ -46,8 +46,6 @@ IMMUTABLE=0, // neither indexes or contexts can be changed READONLY=1, // indexes may be changed, but not content READWRITE=2; // anything can be changed - public final boolean VOLATILE=true; // The buffer may change outside of current scope. - public final boolean NON_VOLATILE=false; /** * Get the underlying array, if one exists. @@ -148,14 +146,6 @@ boolean isReadOnly(); /** - * - * @return a <code>boolean</code> value true if the buffer contents may change - * via alternate paths than this buffer. If the contents of this buffer are to be used outside of the - * current context, then a copy must be made. - */ - boolean isVolatile(); - - /** * The number of bytes from the getIndex to the putIndex * @return an <code>int</code> == putIndex()-getIndex() */