Fix some null warnings
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core.tests / src / org / eclipse / tracecompass / tmf / core / tests / uml2sd / TmfSyncSequenceDiagramEventTest.java
index b11fc5e4744433e177ee6b31ad047b49312ee29e..476c6cae83fd35784d07e598a6f7a5f588576f98 100644 (file)
@@ -17,6 +17,7 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
+import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.tracecompass.tmf.core.event.ITmfEvent;
 import org.eclipse.tracecompass.tmf.core.event.ITmfEventField;
 import org.eclipse.tracecompass.tmf.core.event.TmfEvent;
@@ -32,9 +33,9 @@ import org.junit.Test;
  */
 public class TmfSyncSequenceDiagramEventTest {
 
-    private final String fTypeId  = "Some type";
-    private final String fLabel0  = "label1";
-    private final String fLabel1  = "label2";
+    private final @NonNull String fTypeId  = "Some type";
+    private final @NonNull String fLabel0  = "label1";
+    private final @NonNull String fLabel1  = "label2";
     private final String[] fLabels  = new String[] { fLabel0, fLabel1 };
 
     private final TmfTimestamp fTimestamp1 = new TmfTimestamp(12345, (byte) 2);
This page took 0.025937 seconds and 5 git commands to generate.