mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add clarifying comment (IDEA-CR-57121)
GitOrigin-RevId: 75ee7d892786a41ddb47889da242f0dcfe3262e2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0409f037fd
commit
7f7348b46e
+2
@@ -56,6 +56,8 @@ public final class ResolveScopeManagerImpl extends ResolveScopeManager {
|
||||
ContainerUtil::createConcurrentWeakKeySoftValueMap);
|
||||
|
||||
((PsiManagerImpl)myManager).registerRunnableToRunOnChange(myDefaultResolveScopesCache::clear);
|
||||
// Make it explicit that registering and removing ResolveScopeProviders needs to clear the resolve scope cache
|
||||
// (even though normally registerRunnableToRunOnChange would be enough to clear the cache)
|
||||
ResolveScopeProvider.EP_NAME.addExtensionPointListener(() -> myDefaultResolveScopesCache.clear(), project);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user