mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
squeeze a tiny bit of concurrency
This commit is contained in:
+1
-1
@@ -96,8 +96,8 @@ public class SSBasedInspection extends LocalInspectionTool {
|
||||
|
||||
@Override
|
||||
public void visitElement(PsiElement element) {
|
||||
if (LexicalNodesFilter.getInstance().accepts(element)) return;
|
||||
synchronized (LOCK) {
|
||||
if (LexicalNodesFilter.getInstance().accepts(element)) return;
|
||||
final SsrFilteringNodeIterator matchedNodes = new SsrFilteringNodeIterator(element);
|
||||
for (Map.Entry<Configuration, MatchContext> entry : compiledOptions.entrySet()) {
|
||||
final Configuration configuration = entry.getKey();
|
||||
|
||||
Reference in New Issue
Block a user