Deleted tooltips "empty selection" behaviour
[phpeclipse.git] / net.sourceforge.phpeclipse / src / com / xaraya / wizard / XarayaModuleContainerPage.java
index 488ca10..34b50ff 100644 (file)
@@ -9,6 +9,8 @@ import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.StringTokenizer;
 
+import net.sourceforge.phpdt.internal.ui.util.StringUtil;
+
 import org.eclipse.core.resources.IContainer;
 import org.eclipse.core.resources.IFile;
 import org.eclipse.core.resources.IFolder;
@@ -286,7 +288,7 @@ public IFile createNewFile(String fileName) {
                        String insert = (String)inserts.get(i);
                        String replace = (String)names.get(i);
        
-                       buffer = buffer.replaceAll(insert, replace.toLowerCase());              
+      buffer = StringUtil.replaceAll(buffer, insert, replace.toLowerCase());
                        try {
                                ps = new PipedOutputStream();
                                is = new PipedInputStream(ps);