Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/View.java @ 1025:cf0367978d8b
remove View.CaseInsensitive
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 02 Nov 2016 23:46:43 -0600 |
parents | 0e96ce3db20a |
children | 4e5e9e3c25b3 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/View.java Tue Nov 01 03:46:28 2016 -0600 +++ b/src/org/eclipse/jetty/io/View.java Wed Nov 02 23:46:43 2016 -0600 @@ -25,9 +25,9 @@ * * */ -public class View extends AbstractBuffer +public final class View extends AbstractBuffer { - Buffer _buffer; + private Buffer _buffer; /** * @param buffer The <code>Buffer</code> on which we are presenting a <code>View</code>. @@ -224,28 +224,4 @@ return "INVALID"; return super.toString(); } - - public static class CaseInsensitive extends View implements Buffer.CaseInsensitve - { - public CaseInsensitive() - { - super(); - } - - public CaseInsensitive(Buffer buffer, int mark, int get, int put, int access) - { - super(buffer,mark,get,put,access); - } - - public CaseInsensitive(Buffer buffer) - { - super(buffer); - } - - @Override - public boolean equals(Object obj) - { - return this==obj ||((obj instanceof Buffer)&&((Buffer)obj).equalsIgnoreCase(this)) || super.equals(obj); - } - } }