better path

This commit is contained in:
Eugene Zhuravlev
2012-03-11 16:03:49 +01:00
parent 042e04c5e6
commit f070cb50e8
@@ -35,7 +35,8 @@ public class Paths {
}
public static File getDataStorageRoot(Project project) {
return new File(getInstance().mySystemRoot, project.getProjectName().toLowerCase(Locale.US) + Integer.toHexString(project.getLocationHash()));
final String name = project.getProjectName().toLowerCase(Locale.US);
return new File(getInstance().mySystemRoot, name + "_" + Integer.toHexString(project.getLocationHash()));
}
public static URI toURI(String localPath) {