Fix Warning on deprecated init param usage

This commit is contained in:
Joakim Erdfelt 2022-12-20 13:10:24 -06:00
parent 06f9e5ec18
commit c3847ce90f
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public class DefaultServlet extends HttpServlet
for (String d : deprecated)
{
value = super.getInitParameter(d);
if (value != name)
if (value != null)
{
LOG.warn("Deprecated {} used instead of {}", d, name);
return value;