From aba4dfeb52c6609b908ce2440f90de68ed323d94 Mon Sep 17 00:00:00 2001 From: Sergey Patrikeev Date: Fri, 28 Dec 2018 19:50:20 +0300 Subject: [PATCH] Idea JDK external annotations: disable SDK annotations updates on startup. It requires a better implementation that checks whether those SDK are actually used in the open project, to avoid irrelevant notifications. --- .../update/IdeExternalAnnotationsUpdateStartupActivity.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/devkit/devkit-core/src/inspections/missingApi/update/IdeExternalAnnotationsUpdateStartupActivity.kt b/plugins/devkit/devkit-core/src/inspections/missingApi/update/IdeExternalAnnotationsUpdateStartupActivity.kt index fbaff921c5f1..f4ac7781afff 100644 --- a/plugins/devkit/devkit-core/src/inspections/missingApi/update/IdeExternalAnnotationsUpdateStartupActivity.kt +++ b/plugins/devkit/devkit-core/src/inspections/missingApi/update/IdeExternalAnnotationsUpdateStartupActivity.kt @@ -20,11 +20,6 @@ class IdeExternalAnnotationsUpdateStartupActivity : StartupActivity { return } - val ideaJdks = ProjectJdkTable.getInstance().getSdksOfType(IdeaJdk.getInstance()) - for (ideaJdk in ideaJdks) { - updateAnnotationsLaterIfNecessary(project, ideaJdk) - } - subscribeToJdkChanges(project, application) }