Fix latest batch of null warnings
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core.tests / src / org / eclipse / tracecompass / tmf / core / tests / trace / TmfExperimentUtilsTest.java
index ac880fba716a56c136d42624082e255e2ea8d425..cd803601dc78d8b19ee3daa01eb0714a5c0e3811 100644 (file)
@@ -16,6 +16,7 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 
+import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.tracecompass.tmf.core.analysis.IAnalysisModule;
 import org.eclipse.tracecompass.tmf.core.signal.TmfSignalManager;
 import org.eclipse.tracecompass.tmf.core.signal.TmfTraceOpenedSignal;
@@ -116,8 +117,8 @@ public class TmfExperimentUtilsTest {
      */
     @Test
     public void testGetModuleByClass() {
-        Class<TestAnalysis> commonClass = TestAnalysis.class;
-        Class<TestAnalysis2> notCommonClass = TestAnalysis2.class;
+        Class<@NonNull TestAnalysis> commonClass = TestAnalysis.class;
+        Class<@NonNull TestAnalysis2> notCommonClass = TestAnalysis2.class;
         String host1 = TmfTestTrace.A_TEST_10K.getPath();
         String host2 = TmfTestTrace.A_TEST_10K2.getPath();
         TmfExperiment experiment = fExperiment;
This page took 0.035 seconds and 5 git commands to generate.