Fix some null warnings
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / internal / tmf / ui / project / wizards / tracepkg / importexport / ManifestReader.java
index 3deb4ba1debe6b81a9691796cdb5674499eea7d2..62ccbd9ad6235f5903bb9faf67a5b2d0f709a346 100644 (file)
@@ -31,6 +31,7 @@ import javax.xml.validation.Validator;
 
 import org.eclipse.core.runtime.FileLocator;
 import org.eclipse.core.runtime.Path;
+import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.tracecompass.internal.tmf.ui.Activator;
 import org.eclipse.tracecompass.internal.tmf.ui.project.wizards.tracepkg.ITracePackageConstants;
 import org.eclipse.tracecompass.internal.tmf.ui.project.wizards.tracepkg.TracePackageBookmarkElement;
@@ -55,7 +56,8 @@ public class ManifestReader {
 
     private static final String SCHEMA_FOLDER_NAME = "schema"; //$NON-NLS-1$
     private static final String EXPORT_MANIFEST_SCHEMA_FILE_NAME = "export-manifest.xsd"; //$NON-NLS-1$
-    private static final TracePackageElement [] EMPTY_ARRAY = new TracePackageElement[0];
+    private static final @NonNull TracePackageElement @NonNull [] EMPTY_ARRAY =
+            new @NonNull TracePackageElement[0];
 
     /**
      * Validate the content of a manifest from an input stream
This page took 0.024216 seconds and 5 git commands to generate.