mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ensure synchronized access to dfependency cache
This commit is contained in:
+1
-1
@@ -133,7 +133,7 @@ public class ChangedConstantsDependencyProcessor {
|
||||
final Ref<CacheCorruptedException> exRef = new Ref<CacheCorruptedException>(null);
|
||||
processIdentifiers(psiSearchHelper, new PsiElementProcessor<PsiIdentifier>() {
|
||||
@Override
|
||||
public boolean execute(@NotNull PsiIdentifier identifier) {
|
||||
public synchronized boolean execute(@NotNull PsiIdentifier identifier) {
|
||||
try {
|
||||
final PsiElement parent = identifier.getParent();
|
||||
if (parent instanceof PsiReferenceExpression) {
|
||||
|
||||
Reference in New Issue
Block a user