Replaced signed decimal with hex. Eliminated querying canonical path.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user