Replaced signed decimal with hex. Eliminated querying canonical path.

This commit is contained in:
Evgeny Gerashchenko
2013-06-11 20:37:09 +04:00
parent e8d0022406
commit fe77c3edb9
7 changed files with 13 additions and 13 deletions
@@ -277,7 +277,7 @@ public class NamespaceCodegen extends MemberCodegen {
substringTo = name.length();
}
int pathHashCode = FileUtil.toSystemDependentName(file.getVirtualFile().getCanonicalPath()).hashCode();
String pathHashCode = Integer.toHexString(FileUtil.toSystemDependentName(file.getVirtualFile().getPath()).hashCode());
// dollar sign in the end is to prevent synthetic class from having "Test" or other parseable suffix
// path hashCode to prevent same name / different path collision