tmf xml: Add a few package-info to tmf.analysis.xml.core.model.*
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.analysis.xml.core / src / org / eclipse / tracecompass / tmf / analysis / xml / core / model / readonly / TmfXmlReadOnlyModelFactory.java
index c844edae72cf86c34c19b6e52e7d379fac8f1f8f..ef1f9c4351bd31442c3e66e949b62459815434c5 100644 (file)
@@ -14,7 +14,7 @@ package org.eclipse.tracecompass.tmf.analysis.xml.core.model.readonly;
 
 import java.util.List;
 
-import org.eclipse.jdt.annotation.NonNull;
+import org.eclipse.jdt.annotation.Nullable;
 import org.eclipse.tracecompass.tmf.analysis.xml.core.model.ITmfXmlModelFactory;
 import org.eclipse.tracecompass.tmf.analysis.xml.core.model.ITmfXmlStateAttribute;
 import org.eclipse.tracecompass.tmf.analysis.xml.core.model.ITmfXmlStateValue;
@@ -33,14 +33,13 @@ import org.w3c.dom.Element;
  */
 public class TmfXmlReadOnlyModelFactory implements ITmfXmlModelFactory {
 
-    private static ITmfXmlModelFactory fInstance = null;
+    private static @Nullable ITmfXmlModelFactory fInstance = null;
 
     /**
      * Get the instance of this model creator
      *
      * @return The {@link TmfXmlReadWriteModelFactory} instance
      */
-    @NonNull
     public static synchronized ITmfXmlModelFactory getInstance() {
         ITmfXmlModelFactory instance = fInstance;
         if (instance == null) {
This page took 0.023832 seconds and 5 git commands to generate.