mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
much faster property search (thanks to Nik pointing out that I'm not able to write intersection correctly from the first time)
This commit is contained in:
@@ -646,10 +646,9 @@ public class PsiSearchHelperImpl implements PsiSearchHelper {
|
||||
first = false;
|
||||
}
|
||||
else {
|
||||
for (VirtualFile file : local.keySet()) {
|
||||
if (intersection.containsKey(file)) {
|
||||
intersection.putValues(file, local.get(file));
|
||||
}
|
||||
intersection.keySet().retainAll(local.keySet());
|
||||
for (VirtualFile file : intersection.keySet()) {
|
||||
intersection.get(file).retainAll(local.get(file));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user