From 6d3d912b0b6ee54c00131bb9ce0f8cd1e7c12ba3 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Tue, 1 Dec 2015 16:18:00 -0700 Subject: [PATCH] 483413 - Warn on @Deprecated servlet/filter use --- .../main/java/org/eclipse/jetty/util/DeprecationWarning.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/DeprecationWarning.java b/jetty-util/src/main/java/org/eclipse/jetty/util/DeprecationWarning.java index a41684aea41..bd00c928d5c 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/DeprecationWarning.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/DeprecationWarning.java @@ -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);