diff src/org/eclipse/jetty/server/Request.java @ 977:d35b0a3a7a4a

remove __currentConnection
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Oct 2016 01:31:05 -0600
parents 5ee36654b383
children af8742d31bca
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Request.java	Sun Oct 16 01:14:44 2016 -0600
+++ b/src/org/eclipse/jetty/server/Request.java	Sun Oct 16 01:31:05 2016 -0600
@@ -132,14 +132,6 @@
 	private static final Collection __defaultLocale = Collections.singleton(Locale.getDefault());
 	private static final int __NONE = 0, _STREAM = 1, __READER = 2;
 
-	
-	public static Request getRequest(HttpServletRequest request)
-	{
-		if (request instanceof Request)
-			return (Request)request;
-
-		return AbstractHttpConnection.getCurrentConnection().getRequest();
-	}
 	private volatile Attributes _attributes;
 	private MultiMap<String> _baseParameters;
 	private String _characterEncoding;