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;
*/
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) {