fix double slash in paths

This commit is contained in:
Maxim Shafirov
2012-02-02 18:34:04 +04:00
parent 2b60fe5178
commit 000342e1b5
@@ -61,6 +61,7 @@ public class CoreJarVirtualFile extends VirtualFile {
String parentPath = myParent.getPath();
StringBuilder answer = new StringBuilder(parentPath.length() + 1 + myEntry.shortName.length());
answer.append(parentPath);
if (answer.charAt(answer.length() - 1) != '/') {
answer.append('/');
}