Fix some null warnings
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui.tests / src / org / eclipse / tracecompass / tmf / ui / tests / statistics / TmfTreeContentProviderTest.java
index 961b71211840f0aad5619455e4f9f94ba75ef616..fa9f73cf9c754a4ce28c64fb50c52434dfe41ffb 100755 (executable)
@@ -22,6 +22,7 @@ import static org.junit.Assert.fail;
 
 import java.util.Arrays;
 
+import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.tracecompass.internal.tmf.ui.viewers.statistics.model.Messages;
 import org.eclipse.tracecompass.internal.tmf.ui.viewers.statistics.model.TmfStatisticsTree;
 import org.eclipse.tracecompass.internal.tmf.ui.viewers.statistics.model.TmfStatisticsTreeNode;
@@ -46,8 +47,8 @@ public class TmfTreeContentProviderTest {
 
     private static final String fTestName = "TreeContentProviderTest";
 
-    private final String fTypeId1 = "Some type1";
-    private final String fTypeId2 = "Some type2";
+    private final @NonNull String fTypeId1 = "Some type1";
+    private final @NonNull String fTypeId2 = "Some type2";
 
     private final String fLabel0 = "label1";
     private final String fLabel1 = "label2";
This page took 0.024578 seconds and 5 git commands to generate.