Author: akazakov
Date: 2009-11-18 10:58:52 -0500 (Wed, 18 Nov 2009)
New Revision: 18738
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5223
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java 2009-11-18
14:53:21 UTC (rev 18737)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java 2009-11-18
15:58:52 UTC (rev 18738)
@@ -181,16 +181,16 @@
String packageName = projectName.toLowerCase();
if(packageName.indexOf(" ") >= 0)
- packageName = packageName.replaceAll(" ", "");
+ packageName = packageName.replace(" ", "");
if(packageName.indexOf("-") >= 0)
- packageName = packageName.replaceAll("-", "");
+ packageName = packageName.replace("-", "");
if(packageName.indexOf("+") >= 0)
- packageName = packageName.replaceAll("+", "");
+ packageName = packageName.replace("+", "");
if(packageName.indexOf("_") >= 0)
- packageName = packageName.replaceAll("_", "");
+ packageName = packageName.replace("_", "");
while(packageName.indexOf("..") >= 0){
packageName = packageName.replace("..", ".");