mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 16:19:58 +07:00
implement indexing with CompositeDataIndexer (attach project to indexed file)
GitOrigin-RevId: f30e9fc9bb2681ae31fc277da8399cab14b8a649
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9ccf528c27
commit
b95a5addee
+2
-2
@@ -155,7 +155,7 @@ public class PersistentSubIndexerVersionEnumeratorTest extends LightJavaCodeInsi
|
||||
VirtualFile file = file(attribute);
|
||||
file.putUserData(ATTRIBUTE_KEY, attribute);
|
||||
try {
|
||||
myMap.setIndexedState(((VirtualFileWithId) file).getId(), new IndexedFileImpl(file));
|
||||
myMap.setIndexedState(((VirtualFileWithId) file).getId(), new IndexedFileImpl(file, getProject()));
|
||||
}
|
||||
catch (IOException e) {
|
||||
LOG.error(e);
|
||||
@@ -169,7 +169,7 @@ public class PersistentSubIndexerVersionEnumeratorTest extends LightJavaCodeInsi
|
||||
VirtualFile file = file(attribute);
|
||||
file.putUserData(ATTRIBUTE_KEY, attribute);
|
||||
try {
|
||||
return myMap.isIndexed(((VirtualFileWithId)file).getId(), new IndexedFileImpl(file));
|
||||
return myMap.isIndexed(((VirtualFileWithId)file).getId(), new IndexedFileImpl(file, getProject()));
|
||||
}
|
||||
catch (IOException e) {
|
||||
LOG.error(e);
|
||||
|
||||
Reference in New Issue
Block a user