mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-28 19:09:10 +00:00
483413 - Warn on @Deprecated servlet/filter use
This commit is contained in:
parent
481102db30
commit
6d3d912b0b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user