avoid NullPointerException in debug
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / HTMLFileWizardPage.java
index 8eca3c0..dc70027 100644 (file)
@@ -44,14 +44,14 @@ public class HTMLFileWizardPage extends WizardPage {
   private static final String INITIAL_FILENAME = "file.html";
 
 private Text containerText;
-   
+
   private Text fileText;
 
   private ISelection selection;
 
   /**
    * Constructor for SampleNewWizardPage.
-   * 
+   *
    * @param pageName
    */
   public HTMLFileWizardPage(ISelection selection) {
@@ -200,9 +200,6 @@ private Text containerText;
                                                .getString("WizardPage.fileAlreadyExists"));
                                return true;
                        }
-
-                       ((HTMLFileWizard) this.getWizard()).setFileName(fileText.getText()
-                                       .trim());
                }
                return false;
        }