Merge remote-tracking branch 'origin/master' into prendota/plugin-manager-new-protocol
[idea/community.git] / platform / platform-impl / src / com / intellij / openapi / updateSettings / impl / PluginDownloader.java
index 3a4f6953ebf99ed830f59a1b7767e5b894a6272a..2717c216b44e2c688b93ccaf0e7dc8f1c0093960 100644 (file)
@@ -3,6 +3,7 @@ package com.intellij.openapi.updateSettings.impl;
 
 import com.intellij.ide.IdeBundle;
 import com.intellij.ide.plugins.*;
+import com.intellij.ide.plugins.marketplace.MarketplaceRequests;
 import com.intellij.ide.startup.StartupActionScriptManager;
 import com.intellij.openapi.application.*;
 import com.intellij.openapi.application.impl.ApplicationInfoImpl;
@@ -345,7 +346,7 @@ public final class PluginDownloader {
 
   @NotNull
   public static String getBuildNumberForDownload(@Nullable BuildNumber buildNumber) {
-    return buildNumber != null ? buildNumber.asString() : PluginRepositoryRequests.getBuildForPluginRepositoryRequests();
+    return buildNumber != null ? buildNumber.asString() : MarketplaceRequests.getBuildForPluginRepositoryRequests();
   }
 
   @NotNull