|
From: <caw...@us...> - 2007-05-30 13:21:58
|
Revision: 2555
http://svn.sourceforge.net/rubyeclipse/?rev=2555&view=rev
Author: cawilliams
Date: 2007-05-30 06:21:51 -0700 (Wed, 30 May 2007)
Log Message:
-----------
build path with file seperator
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/InternalSearchPattern.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/InternalSearchPattern.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/InternalSearchPattern.java 2007-05-29 20:58:25 UTC (rev 2554)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/InternalSearchPattern.java 2007-05-30 13:21:51 UTC (rev 2555)
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.rubypeople.rdt.internal.core.search.matching;
+import java.io.File;
import java.io.IOException;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -60,7 +61,7 @@
return (SearchPattern) this;
}
String documentPath(String containerPath, String relativePath) {
- String separator = "/"; //$NON-NLS-1$
+ String separator = File.separator; //$NON-NLS-1$
StringBuffer buffer = new StringBuffer(containerPath.length() + separator.length() + relativePath.length());
buffer.append(containerPath);
buffer.append(separator);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|