diff src/org/eclipse/jetty/http/HttpFields.java @ 855:fa6158f29c45

remove BufferDateCache and DateCache
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 20 Sep 2016 21:38:44 -0600
parents 86338c0029a9
children f126d30e04a4
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpFields.java	Tue Sep 20 01:05:37 2016 -0600
+++ b/src/org/eclipse/jetty/http/HttpFields.java	Tue Sep 20 21:38:44 2016 -0600
@@ -42,7 +42,6 @@
 import org.eclipse.jetty.io.Buffer;
 import org.eclipse.jetty.io.BufferCache;
 import org.eclipse.jetty.io.BufferCache.CachedBuffer;
-import org.eclipse.jetty.io.BufferDateCache;
 import org.eclipse.jetty.io.BufferUtil;
 import org.eclipse.jetty.io.ByteArrayBuffer;
 import org.eclipse.jetty.util.LazyList;
@@ -67,14 +66,6 @@
 	/* ------------------------------------------------------------ */
 	public static final String __COOKIE_DELIM="\"\\\n\r\t\f\b%+ ;=";
 	public static final TimeZone __GMT = TimeZone.getTimeZone("GMT");
-	public static final BufferDateCache __dateCache = new BufferDateCache("EEE, dd MMM yyyy HH:mm:ss 'GMT'", Locale.US);
-
-	/* -------------------------------------------------------------- */
-	static
-	{
-		__GMT.setID("GMT");
-		__dateCache.setTimeZone(__GMT);
-	}
 	
 	/* ------------------------------------------------------------ */
 	private static final String[] DAYS =