Deleted tooltips "empty selection" behaviour
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / wizards / PHPFileWizard.java
index 992f064..572bf4c 100644 (file)
@@ -153,7 +153,7 @@ public class PHPFileWizard extends Wizard implements INewWizard {
     final int precLastDot = fileName.lastIndexOf('.',lastDot-1);
     if (precLastDot == -1) return null;
     if (!fileName.substring(precLastDot+1,lastDot).toUpperCase().equals("CLASS")) return null;
-    return fileName.substring(0,precLastDot-1);
+    return fileName.substring(0,precLastDot);
   }
 
   /**