From 64febcce0e5203a0a34a2463f5635c0b5e4aa2b3 Mon Sep 17 00:00:00 2001 From: Roman Chernyatchik Date: Tue, 25 Nov 2008 17:42:49 +0300 Subject: [PATCH] "pythonSdk" removed from common lang-impl API --- .../com/intellij/openapi/projectRoots/impl/SdkConfigurationUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang-impl/src/com/intellij/openapi/projectRoots/impl/SdkConfigurationUtil.java b/lang-impl/src/com/intellij/openapi/projectRoots/impl/SdkConfigurationUtil.java index 0d6e22694c..84cd69316f 100644 --- a/lang-impl/src/com/intellij/openapi/projectRoots/impl/SdkConfigurationUtil.java +++ b/lang-impl/src/com/intellij/openapi/projectRoots/impl/SdkConfigurationUtil.java @@ -64,10 +64,10 @@ public class SdkConfigurationUtil { }); } - public static void setDirectoryProjectSdk(final Project project, final Sdk pythonSdk) { + public static void setDirectoryProjectSdk(final Project project, final Sdk sdk) { ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { - ProjectRootManager.getInstance(project).setProjectJdk(pythonSdk); + ProjectRootManager.getInstance(project).setProjectJdk(sdk); final Module[] modules = ModuleManager.getInstance(project).getModules(); if (modules.length > 0) { final ModifiableRootModel model = ModuleRootManager.getInstance(modules[0]).getModifiableModel(); -- 2.11.4.GIT