< prev index next >
application/tests/org.openjdk.jmc.rjmx.test/src/test/java/org/openjdk/jmc/rjmx/test/subscription/CompositeDataSubscriptionTest.java
Print this page
@@ -64,12 +64,12 @@
@Test
public void testCompositeDataSubscription() {
try {
// Starting up a subscription on a one shot attribute.
- MRI attributeDescriptor = new MRI(Type.ATTRIBUTE, "java.lang:type=Memory", //$NON-NLS-1$
- "HeapMemoryUsage/used"); //$NON-NLS-1$
+ MRI attributeDescriptor = new MRI(Type.ATTRIBUTE, "java.lang:type=Memory",
+ "HeapMemoryUsage/used");
getAttributeSubscriptionService().addMRIValueListener(attributeDescriptor, this);
IMRISubscription subscription = getAttributeSubscriptionService().getMRISubscription(attributeDescriptor);
assertNotNull(subscription);
< prev index next >