From 618850449ebedb78344e2fdcc01f0bf34c5b3398 Mon Sep 17 00:00:00 2001 From: Maxim Shafirov Date: Tue, 3 Apr 2012 20:51:26 +0400 Subject: [PATCH] Fix entry points management, broken back in 2008 --- .../com/intellij/codeInspection/ex/EntryPointsManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0b0c60e7395d..9797dc6e7b12 100644 --- a/java/java-impl/src/com/intellij/codeInspection/ex/EntryPointsManagerImpl.java +++ b/java/java-impl/src/com/intellij/codeInspection/ex/EntryPointsManagerImpl.java @@ -241,7 +241,7 @@ public class EntryPointsManagerImpl implements PersistentStateComponent } } - if (isPersistent) { + if (!isPersistent) { myTemporaryEntryPoints.add(newEntryPoint); ((RefElementImpl)newEntryPoint).setEntry(true); }