From 0bf49781b62c4b116c02fb5d1670495867d311ab Mon Sep 17 00:00:00 2001 From: anna Date: Wed, 4 Apr 2012 18:18:43 +0200 Subject: [PATCH] cleanup entry points in order to reinit them with the new RefManager --- .../com/intellij/codeInspection/ex/EntryPointsManagerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/java-impl/src/com/intellij/codeInspection/ex/EntryPointsManagerImpl.java b/java/java-impl/src/com/intellij/codeInspection/ex/EntryPointsManagerImpl.java index 9797dc6e7b12..9e194b30253c 100644 --- a/java/java-impl/src/com/intellij/codeInspection/ex/EntryPointsManagerImpl.java +++ b/java/java-impl/src/com/intellij/codeInspection/ex/EntryPointsManagerImpl.java @@ -192,6 +192,7 @@ public class EntryPointsManagerImpl implements PersistentStateComponent public void resolveEntryPoints(final RefManager manager) { if (!myResolved) { myResolved = true; + cleanup(); validateEntryPoints(); ApplicationManager.getApplication().runReadAction(new Runnable() {