From f72cb74b354f3012d42698a38b60b8a13e8579db Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Fri, 21 Sep 2018 00:13:53 +0200 Subject: [PATCH] Issue #2727 - Revisit JMX MBean lookup behavior. Removed unused code. Signed-off-by: Simone Bordet --- .../main/java/org/eclipse/jetty/jmx/MetaData.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MetaData.java b/jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MetaData.java index 542269a7051..9f3b8882068 100644 --- a/jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MetaData.java +++ b/jetty-jmx/src/main/java/org/eclipse/jetty/jmx/MetaData.java @@ -59,7 +59,6 @@ class MetaData private final Map _attributes = new HashMap<>(); private final Map _operations = new HashMap<>(); - private final Class _klass; private final MetaData _parent; private final List _interfaces; private final Constructor _constructor; @@ -67,7 +66,6 @@ class MetaData MetaData(Class klass, MetaData parent, List interfaces) { - _klass = klass; _parent = parent; _interfaces = interfaces; _constructor = findConstructor(klass); @@ -286,17 +284,6 @@ class MetaData _parent.collectMBeanOperationInfos(operationInfos); } - private static class ObjectInfo - { - private final String _description; - - private ObjectInfo(Class klass) - { - ManagedObject managedObject = klass.getAnnotation(ManagedObject.class); - _description = managedObject == null ? "" : managedObject.value(); - } - } - private static class AttributeInfo { private final String _name;