''Open Wiki link'' and ''Create Files for Wiki link'' every new created file creates...
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.wiki / src / net / sourceforge / phpeclipse / wiki / preferences / Util.java
index b48f838..b986737 100644 (file)
@@ -206,7 +206,7 @@ public class Util {
   }
 
   /**
-   * Extract the wiki name from the current filename, replaces '/' with ':' characters, but doesn't replace '_' characters
+   * Extract the wiki name from the current filename, but doesn't replace '_' characters
    * 
    * @param currentFile
    * @return
@@ -216,7 +216,7 @@ public class Util {
   }
 
   /**
-   * Extract the wiki name from the current filename, replaces '/' with ':' characters, and '_' with ' ' characters if
+   * Extract the wiki name from the current filename, replaces '_' with ' ' characters if
    * <code>replaceUnderscore==true</code>
    * 
    * @param currentFile
@@ -235,9 +235,9 @@ public class Util {
     for (int i = basePath.length() + 1; i < lastIndex; i++) {
       ch = filePath.charAt(i);
       switch (ch) {
-      case '/':
-        result.append(':');
-        break;
+//      case '/':
+//        result.append(':');
+//        break;
       default:
         if (ch == '_' && replaceUnderscore) {
           result.append(' ');