Fix some null warnings
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / analysis / TmfAnalysisModuleOutputs.java
index 31fdc1e157d38161f47f085e02d3d6467ffc41f2..bd78f5897f742eb5123a940851125e37dbfb4785 100644 (file)
@@ -19,6 +19,7 @@ import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IConfigurationElement;
 import org.eclipse.core.runtime.InvalidRegistryObjectException;
 import org.eclipse.core.runtime.Platform;
+import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.tracecompass.internal.tmf.core.Activator;
 
 /**
@@ -64,8 +65,8 @@ public class TmfAnalysisModuleOutputs {
      *
      * @return List of {@link ITmfNewAnalysisModuleListener}
      */
-    public static Iterable<ITmfNewAnalysisModuleListener> getOutputListeners() {
-        List<ITmfNewAnalysisModuleListener> newModuleListeners = new ArrayList<>();
+    public static Iterable<@NonNull ITmfNewAnalysisModuleListener> getOutputListeners() {
+        List<@NonNull ITmfNewAnalysisModuleListener> newModuleListeners = new ArrayList<>();
         // Get the sources element from the extension point
         IConfigurationElement[] config = Platform.getExtensionRegistry().getConfigurationElementsFor(TMF_ANALYSIS_TYPE_ID);
         for (IConfigurationElement ce : config) {
This page took 0.025058 seconds and 5 git commands to generate.