Fix Warning on deprecated init param usage
This commit is contained in:
parent
06f9e5ec18
commit
c3847ce90f
|
@ -253,7 +253,7 @@ public class DefaultServlet extends HttpServlet
|
||||||
for (String d : deprecated)
|
for (String d : deprecated)
|
||||||
{
|
{
|
||||||
value = super.getInitParameter(d);
|
value = super.getInitParameter(d);
|
||||||
if (value != name)
|
if (value != null)
|
||||||
{
|
{
|
||||||
LOG.warn("Deprecated {} used instead of {}", d, name);
|
LOG.warn("Deprecated {} used instead of {}", d, name);
|
||||||
return value;
|
return value;
|
||||||
|
|
Loading…
Reference in New Issue