plugins/org.symbian.tools.tmw.ui/src/org/symbian/tools/tmw/internal/ui/importwizard/ApplicationImportWizard.java
changeset 483 109da596fa9d
parent 481 e908ec135fa1
child 485 df4f55e8569e
--- a/plugins/org.symbian.tools.tmw.ui/src/org/symbian/tools/tmw/internal/ui/importwizard/ApplicationImportWizard.java	Wed Sep 01 16:59:08 2010 -0700
+++ b/plugins/org.symbian.tools.tmw.ui/src/org/symbian/tools/tmw/internal/ui/importwizard/ApplicationImportWizard.java	Thu Sep 02 10:50:38 2010 -0700
@@ -175,7 +175,7 @@
 
     public void init(IWorkbench workbench, IStructuredSelection selection) {
         file = null;
-        if (selection instanceof IStructuredSelection && !selection.isEmpty()) {
+        if (!selection.isEmpty()) {
             Object element = (selection).getFirstElement();
             if (element instanceof IAdaptable) {
                 IResource resource = (IResource) ((IAdaptable) element).getAdapter(IResource.class);