Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/Buffer.java @ 1039:a7319f14ba1e
remove Buffer.isImmutable()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 03 Nov 2016 22:55:28 -0600 |
parents | b71ad168fe34 |
children | 3e4949834f3e |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/Buffer.java Thu Nov 03 22:16:11 2016 -0600 +++ b/src/org/eclipse/jetty/io/Buffer.java Thu Nov 03 22:55:28 2016 -0600 @@ -40,10 +40,9 @@ * * @version 1.0 */ -public interface Buffer extends Cloneable +public interface Buffer { public final static int - IMMUTABLE=0, // neither indexes or contexts can be changed READONLY=1, // indexes may be changed, but not content READWRITE=2; // anything can be changed @@ -126,13 +125,6 @@ /** * - * @return a <code>boolean</code> value true if the buffer is immutable and that neither - * the buffer contents nor the indexes may be changed. - */ - boolean isImmutable(); - - /** - * * @return a <code>boolean</code> value true if the buffer is readonly. The buffer indexes may * be modified, but the buffer contents may not. For example a View onto an immutable Buffer will be * read only.