allow findFileByPath() to work correctly for TempFS

This commit is contained in:
Dmitry Jemerov
2011-06-01 20:11:44 +04:00
parent 358b43a35d
commit a083fdf1dd
@@ -45,7 +45,8 @@ public class TempFileSystem extends NewVirtualFileSystem {
}
protected String extractRootPath(@NotNull final String path) {
return path.startsWith("/") ? "/" : "";
//return path.startsWith("/") ? "/" : "";
return "/";
}
public int getRank() {