Added patch from #1437426: error in assign template
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / PHPFileWizardPage.java
index 8fffaec..bbcc353 100644 (file)
@@ -12,13 +12,9 @@ package net.sourceforge.phpeclipse.wizards;
  www.phpeclipse.de
  **********************************************************************/
 
-import net.sourceforge.phpdt.core.ICompilationUnit;
-import net.sourceforge.phpdt.internal.corext.codemanipulation.StubUtility;
-
 import org.eclipse.core.resources.IContainer;
 import org.eclipse.core.resources.IResource;
 import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.Path;
 import org.eclipse.jface.dialogs.IDialogPage;
@@ -202,8 +198,6 @@ public class PHPFileWizardPage extends WizardPage {
                                this.setErrorMessage(PHPWizardMessages.getString("WizardPage.fileAlreadyExists"));
                                return true;
                        }
-
-                       ((PHPFileWizard) this.getWizard()).setFileName(fileText.getText().trim());
                }
                return false;
        }