lttng: Disable NLS warnings in tests
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.core.tests / src / org / eclipse / linuxtools / lttng2 / kernel / core / tests / headless / BasicStateSystemExample.java
index 9d7172f881a7dcdbfea9bc63e80f1e56d9c40f48..d493889786c4ac0b54d20b2beea627bf80a2d9ea 100644 (file)
@@ -42,7 +42,7 @@ public class BasicStateSystemExample {
     public static void main(String[] args) {
         /* Read a trace and build the state system */
         try {
-            File newStateFile = new File("/tmp/helloworldctf.ht"); //$NON-NLS-1$
+            File newStateFile = new File("/tmp/helloworldctf.ht");
             IStateChangeInput input = new CtfKernelStateInput(CtfTmfTestTraces.getTestTrace(1));
             ITmfStateSystem ss = StateSystemManager.loadStateHistory(newStateFile, input, true);
 
@@ -67,25 +67,25 @@ public class BasicStateSystemExample {
             List<ITmfStateInterval> stateIntervals;
             StringBuilder output = new StringBuilder();
 
-            currentThreadByCPUS = ssb.getQuarks(Attributes.CPUS, "*", Attributes.CURRENT_THREAD); //$NON-NLS-1$
+            currentThreadByCPUS = ssb.getQuarks(Attributes.CPUS, "*", Attributes.CURRENT_THREAD);
 
             for (Integer currentThread : currentThreadByCPUS) {
                 stateIntervals = ssb.queryHistoryRange(currentThread.intValue(), ssb.getStartTime(),
                         ssb.getCurrentEndTime());
 
                 /* Output formatting */
-                output.append("Value of attribute : "); //$NON-NLS-1$
+                output.append("Value of attribute : ");
                 output.append(ssb.getFullAttributePath(currentThread.intValue()));
-                output.append("\n------------------------------------------------\n"); //$NON-NLS-1$
+                output.append("\n------------------------------------------------\n");
                 for (ITmfStateInterval stateInterval : stateIntervals) {
                     /* Print the interval */
                     output.append('[');
                     output.append(String.valueOf(stateInterval.getStartTime()));
-                    output.append(", "); //$NON-NLS-1$
+                    output.append(", ");
                     output.append(String.valueOf(stateInterval.getEndTime()));
                     output.append(']');
                     /* Print the attribute value */
-                    output.append(" = "); //$NON-NLS-1$
+                    output.append(" = ");
                     output.append(stateInterval.getStateValue().unboxInt());
                     output.append('\n');
                 }
This page took 0.025497 seconds and 5 git commands to generate.