inspection toolwindow: do not need get implicit constructor to delete from entry points IDEA-156613

This commit is contained in:
Dmitry Batkovich
2016-05-26 14:50:55 +03:00
parent 7e45f55f73
commit 9ce33254f6
@@ -234,15 +234,6 @@ public abstract class EntryPointsManagerBase extends EntryPointsManager implemen
@Override
public void removeEntryPoint(@NotNull RefElement anEntryPoint) {
if (anEntryPoint instanceof RefClass) {
RefClass refClass = (RefClass)anEntryPoint;
if (!refClass.isInterface()) {
anEntryPoint = refClass.getDefaultConstructor();
}
}
if (anEntryPoint == null) return;
myTemporaryEntryPoints.remove(anEntryPoint);
Set<Map.Entry<String, SmartRefElementPointer>> set = myPersistentEntryPoints.entrySet();