< prev index next >

application/tests/org.openjdk.jmc.rjmx.services.jfr.test/src/test/java/org/openjdk/jmc/rjmx/services/jfr/test/JfrPackageExampleTest.java

Print this page

        

@@ -61,13 +61,13 @@
 @SuppressWarnings("nls")
 public class JfrPackageExampleTest extends RjmxTestCase {
 
         @Test
         public void testPackageExample1FunctionalityVerbatim() throws Exception {
-                IConnectionDescriptor descriptor = new ConnectionDescriptorBuilder().hostName("localhost").port(0).build(); //$NON-NLS-1$
+                IConnectionDescriptor descriptor = new ConnectionDescriptorBuilder().hostName("localhost").port(0).build();
                 IServerHandle serverHandle = IServerHandle.create(descriptor);
-                IConnectionHandle handle = serverHandle.connect("Get JFR recording info"); //$NON-NLS-1$
+                IConnectionHandle handle = serverHandle.connect("Get JFR recording info");
                 try {
                         IFlightRecorderService jfr = handle.getServiceOrThrow(IFlightRecorderService.class);
                         for (IRecordingDescriptor desc : jfr.getAvailableRecordings()) {
                                 System.out.println(desc.getName());
                         }

@@ -76,11 +76,11 @@
                 }
         }
 
         @Test
         public void testPackageExample2FunctionalityVerbatim() throws Exception {
-                IConnectionDescriptor descriptor = new ConnectionDescriptorBuilder().hostName("localhost").port(0).build(); //$NON-NLS-1$
+                IConnectionDescriptor descriptor = new ConnectionDescriptorBuilder().hostName("localhost").port(0).build();
                 IServerHandle serverHandle = IServerHandle.create(descriptor);
                 IConnectionHandle handle = serverHandle.connect("Start time bound flight recording");
                 try {
                         IFlightRecorderService jfr = handle.getServiceOrThrow(IFlightRecorderService.class);
 
< prev index next >