tmf: Disable NLS warnings in tests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / ctfadaptor / headless / Benchmark.java
index 6b69e3b0d5a77a3e4e3d653f79bd2bcebd487594..ebffe99c614cdced17c131dee798daa667dbc0b0 100644 (file)
@@ -32,7 +32,7 @@ public class Benchmark {
      * @param args The command-line arguments
      */
     public static void main(final String[] args) {
-        final String TRACE_PATH = "testfiles/kernel"; //$NON-NLS-1$
+        final String TRACE_PATH = "testfiles/kernel";
         final int NUM_LOOPS = 100;
 
         // Change this to enable text output
@@ -63,9 +63,9 @@ public class Benchmark {
                     nbEvent++;
                     if (USE_TEXT) {
 
-                        System.out.println("Event " + nbEvent + " Time " //$NON-NLS-1$ //$NON-NLS-2$
-                                + current.getTimestamp().toString() + " type " + current.getEventName() //$NON-NLS-1$
-                                + " on CPU " + current.getSource() + " " + current.getContent().toString()) ; //$NON-NLS-1$ //$NON-NLS-2$
+                        System.out.println("Event " + nbEvent + " Time "
+                                + current.getTimestamp().toString() + " type " + current.getEventName()
+                                + " on CPU " + current.getSource() + " " + current.getContent().toString());
                     }
                     // advance the trace to the next event.
                     boolean hasMore = traceReader.advance();
@@ -80,16 +80,16 @@ public class Benchmark {
             final double time = (stop - start) / (double) nbEvent;
             benchs.add(time);
         }
-        System.out.println(""); //$NON-NLS-1$
+        System.out.println("");
         double avg = 0;
         for (final Double val : benchs) {
             avg += val;
         }
         avg /= benchs.size();
-        System.out.println("Time to read = " + avg + " events/ns"); //$NON-NLS-1$ //$NON-NLS-2$
+        System.out.println("Time to read = " + avg + " events/ns");
         for (final Double val : benchs) {
             System.out.print(val);
-            System.out.print(", "); //$NON-NLS-1$
+            System.out.print(", ");
         }
 
     }
This page took 0.033555 seconds and 5 git commands to generate.