javac ast indices: use File.getPath() when perform deletion of file's references

This commit is contained in:
Dmitry Batkovich
2016-10-22 12:03:32 +03:00
parent f0866800b0
commit 347c25bd6f
@@ -102,7 +102,7 @@ public class BackwardReferenceIndexWriter {
synchronized void processDeletedFiles(Collection<String> paths) {
for (String path : paths) {
final int deletedFileId = enumeratePath(path);
final int deletedFileId = enumeratePath(new File(path).getPath());
//remove from reference maps
final Collection<LightRef> refs = myIndex.getReferenceMap().get(deletedFileId);