tmf: Make TmfTraceType static
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / internal / tmf / ui / project / wizards / tracepkg / importexport / TracePackageImportOperation.java
index c7c87ab89c013dab9203550fd7873dfa2cd4dfa6..b2e958712346ba0dd90c2cbfc8e3543cb66a9559 100644 (file)
@@ -352,7 +352,7 @@ public class TracePackageImportOperation extends AbstractTracePackageOperation i
         TraceTypeHelper traceType = null;
         String traceTypeStr = traceElement.getTraceType();
         if (traceTypeStr != null) {
-            traceType = TmfTraceType.getInstance().getTraceType(traceTypeStr);
+            traceType = TmfTraceType.getTraceType(traceTypeStr);
             if (traceType == null) {
                 return new Status(IStatus.ERROR, Activator.PLUGIN_ID, MessageFormat.format(Messages.ImportTracePackageWizardPage_ErrorSettingTraceType, traceElement.getTraceType(), destinationName));
             }
This page took 0.024261 seconds and 5 git commands to generate.