changeset 904:5d9b213aaed0

remove unused fns
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 07 Oct 2016 00:28:38 -0600
parents 94f5d8a62385
children e7175965e6cf
files src/org/eclipse/jetty/server/Connector.java
diffstat 1 files changed, 0 insertions(+), 36 deletions(-) [+]
line wrap: on
line diff
diff -r 94f5d8a62385 -r 5d9b213aaed0 src/org/eclipse/jetty/server/Connector.java
--- a/src/org/eclipse/jetty/server/Connector.java	Fri Oct 07 00:23:00 2016 -0600
+++ b/src/org/eclipse/jetty/server/Connector.java	Fri Oct 07 00:28:38 2016 -0600
@@ -301,30 +301,6 @@
 	{
 	}
 
-	/* ------------------------------------------------------------ */
-	protected String getLeftMostFieldValue(HttpFields fields, String header)
-	{
-		if (header == null)
-			return null;
-
-		String headerValue = fields.getStringField(header);
-
-		if (headerValue == null)
-			return null;
-
-		int commaIndex = headerValue.indexOf(',');
-
-		if (commaIndex == -1)
-		{
-			// Single value
-			return headerValue;
-		}
-
-		// The left-most value is the farthest downstream client
-		return headerValue.substring(0,commaIndex);
-	}
-
-	/* ------------------------------------------------------------ */
 	public void persist(EndPoint endpoint) throws IOException
 	{
 	}
@@ -521,18 +497,6 @@
 		return server.isLowOnThreads();
 	}
 
-	/* ------------------------------------------------------------ */
-	private void updateNotEqual(AtomicLong valueHolder, long compare, long value)
-	{
-		long oldValue = valueHolder.get();
-		while (compare != oldValue)
-		{
-			if (valueHolder.compareAndSet(oldValue,value))
-				break;
-			oldValue = valueHolder.get();
-		}
-	}
-
 	// from old interface
 	public abstract void open() throws IOException;
 	public abstract void close() throws IOException;