diff src/org/eclipse/jetty/io/ByteArrayBuffer.java @ 1026:6647dbc8be71

remove Buffer.CaseInsensitve
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 02 Nov 2016 23:52:33 -0600
parents 4dc1e1a18661
children 4e5e9e3c25b3
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/ByteArrayBuffer.java	Wed Nov 02 23:46:43 2016 -0600
+++ b/src/org/eclipse/jetty/io/ByteArrayBuffer.java	Wed Nov 02 23:52:33 2016 -0600
@@ -144,9 +144,6 @@
 		if (obj == null || !(obj instanceof Buffer)) 
 			return false;
 		
-		if (obj instanceof Buffer.CaseInsensitve)
-			return equalsIgnoreCase((Buffer)obj);
-		
 
 		Buffer b = (Buffer) obj;
 		
@@ -385,24 +382,4 @@
 		return _bytes.length - _put;
 	}
 
-	
-	public static class CaseInsensitive extends ByteArrayBuffer implements Buffer.CaseInsensitve
-	{
-		public CaseInsensitive(String s)
-		{
-			super(s);
-		}
-		
-		public CaseInsensitive(byte[] b, int o, int l, int rw)
-		{
-			super(b,o,l,rw);
-		}
-
-		@Override
-		public boolean equals(Object obj)
-		{
-			return obj instanceof Buffer && equalsIgnoreCase((Buffer)obj);
-		}
-		
-	}
 }