Removed redundant assignment.

This commit is contained in:
Simone Bordet 2014-05-06 13:58:14 +02:00
parent f26291f5b6
commit e67df36773
1 changed files with 1 additions and 3 deletions

View File

@ -672,9 +672,7 @@ public class ProxyServlet extends HttpServlet
protected void init(ServletConfig config) throws ServletException
{
String proxyTo = config.getInitParameter("proxyTo");
_proxyTo = proxyTo == null ? _proxyTo : proxyTo;
_proxyTo = config.getInitParameter("proxyTo");
if (_proxyTo == null)
throw new UnavailableException("Init parameter 'proxyTo' is required.");