canonicalDescriptorPath = descriptorFile.getCanonicalPath();
}
if (canonicalDescriptorPath != null && !myFileToModuleStubMap.containsKey(canonicalDescriptorPath)) {
myFileToModuleStubMap.put(canonicalDescriptorPath, moduleStub);
}
<BUG>putModuleStubWithUID(moduleStub.getOldModuleId(), moduleStub);
myModuleStubToOwners.addLink(moduleStub, owner);
}</BUG>
private void putModuleStubWithUID(String moduleUID, ModuleStub moduleStub) {
List<ModuleStub> moduleStubsWithUID = myUIDToModuleStubsMap.get(moduleUID);

canonicalDescriptorPath = descriptorFile.getCanonicalPath();
}
if (canonicalDescriptorPath != null && !myFileToModuleStubMap.containsKey(canonicalDescriptorPath)) {
myFileToModuleStubMap.put(canonicalDescriptorPath, moduleStub);
}
putModuleStubWithUID(moduleStub.getOldModuleId(), moduleStub);
for (MPSModuleOwner owner : owners) {
myModuleStubToOwners.addLink(moduleStub, owner);
}
}
private void putModuleStubWithUID(String moduleUID, ModuleStub moduleStub) {
List<ModuleStub> moduleStubsWithUID = myUIDToModuleStubsMap.get(moduleUID);
