Removed redundant assignment.
This commit is contained in:
parent
f26291f5b6
commit
e67df36773
|
@ -672,9 +672,7 @@ public class ProxyServlet extends HttpServlet
|
||||||
|
|
||||||
protected void init(ServletConfig config) throws ServletException
|
protected void init(ServletConfig config) throws ServletException
|
||||||
{
|
{
|
||||||
String proxyTo = config.getInitParameter("proxyTo");
|
_proxyTo = config.getInitParameter("proxyTo");
|
||||||
_proxyTo = proxyTo == null ? _proxyTo : proxyTo;
|
|
||||||
|
|
||||||
if (_proxyTo == null)
|
if (_proxyTo == null)
|
||||||
throw new UnavailableException("Init parameter 'proxyTo' is required.");
|
throw new UnavailableException("Init parameter 'proxyTo' is required.");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue