tmf: Use Apache Common Compress for importing from archive
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / internal / tmf / ui / project / wizards / tracepkg / importexport / TracePackageImportOperation.java
index 8f5cad157606e026bc01bfa075f055ffe438cc3e..acf6229f462dbed318140a079408027f67399102 100644 (file)
@@ -42,7 +42,6 @@ import org.eclipse.core.runtime.URIUtil;
 import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jface.operation.ModalContext;
 import org.eclipse.tracecompass.internal.tmf.ui.Activator;
-import org.eclipse.tracecompass.internal.tmf.ui.project.wizards.importtrace.TarException;
 import org.eclipse.tracecompass.internal.tmf.ui.project.wizards.tracepkg.AbstractTracePackageOperation;
 import org.eclipse.tracecompass.internal.tmf.ui.project.wizards.tracepkg.TracePackageBookmarkElement;
 import org.eclipse.tracecompass.internal.tmf.ui.project.wizards.tracepkg.TracePackageElement;
@@ -107,8 +106,6 @@ public class TracePackageImportOperation extends AbstractTracePackageOperation i
                 inputStream = ((ArchiveProviderElement) element).getContents();
             } catch (IOException e) {
                 fException = e;
-            } catch (TarException e) {
-                fException = e;
             }
             return inputStream;
         }
@@ -148,7 +145,7 @@ public class TracePackageImportOperation extends AbstractTracePackageOperation i
             this.fEntry = entry;
         }
 
-        public InputStream getContents() throws TarException, IOException {
+        public InputStream getContents() throws IOException {
             return fArchiveFile.getInputStream(fEntry);
         }
 
This page took 0.024879 seconds and 5 git commands to generate.