483413 - Warn on @Deprecated servlet/filter use

This commit is contained in:
Joakim Erdfelt 2015-12-01 16:18:00 -07:00
parent 481102db30
commit 6d3d912b0b
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public class DeprecationWarning implements Decorator
// Report on super class deprecation too
while (superClazz != null && superClazz != Object.class)
{
Deprecated supDepr = clazz.getAnnotation(Deprecated.class);
Deprecated supDepr = superClazz.getAnnotation(Deprecated.class);
if (supDepr != null)
{
LOG.warn("Using indirect @Deprecated {} {} - (seen from {})",typeName,superClazz.getName(),clazz);