polishing
This commit is contained in:
parent
87dad65ff0
commit
9e375a860a
|
|
@ -18,7 +18,6 @@ package org.springframework.jmx.export;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import javax.management.Attribute;
|
import javax.management.Attribute;
|
||||||
import javax.management.AttributeChangeNotification;
|
import javax.management.AttributeChangeNotification;
|
||||||
import javax.management.MalformedObjectNameException;
|
import javax.management.MalformedObjectNameException;
|
||||||
|
|
@ -427,6 +426,7 @@ public class NotificationListenerTests extends AbstractMBeanServerTests {
|
||||||
assertEquals("Listener notified after destruction", 1, listener.getCount(attributeName));
|
assertEquals("Listener notified after destruction", 1, listener.getCount(attributeName));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@SuppressWarnings({"rawtypes", "unchecked"})
|
@SuppressWarnings({"rawtypes", "unchecked"})
|
||||||
private static class CountingAttributeChangeNotificationListener implements NotificationListener {
|
private static class CountingAttributeChangeNotificationListener implements NotificationListener {
|
||||||
|
|
||||||
|
|
@ -462,6 +462,7 @@ public class NotificationListenerTests extends AbstractMBeanServerTests {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static class SelfNamingTestBean implements SelfNaming {
|
public static class SelfNamingTestBean implements SelfNaming {
|
||||||
|
|
||||||
private ObjectName objectName;
|
private ObjectName objectName;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue