set repository name for plugins from external repositories (IDEA-80276)
authorAnna Kozlova <anna.kozlova@jetbrains.com>
Tue, 24 Jan 2012 16:55:27 +0000 (20:55 +0400)
committerAnna Kozlova <anna.kozlova@jetbrains.com>
Tue, 24 Jan 2012 16:55:27 +0000 (20:55 +0400)
platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateChecker.java

index a2833e6e56271114bcff8289d256b6c0ce8f687c..4df44f1f95c75d3f2e58b0b974de78a24ccfdd96 100644 (file)
@@ -246,6 +246,7 @@ public final class UpdateChecker {
     if (inputStream == null) return false;
     final ArrayList<IdeaPluginDescriptor> descriptors = RepositoryHelper.loadPluginsFromDescription(inputStream);
     for (IdeaPluginDescriptor descriptor : descriptors) {
+      ((PluginNode)descriptor).setRepositoryName(host);
       downloaded.add(PluginDownloader.createDownloader(descriptor));
     }