mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[plugins] remove obsolete getSearchCompatibleUpdatesUrl and CompatibleUpdateForModuleRequest
GitOrigin-RevId: 8091054def7f86cda939e682684c2435338ec77b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
50219eff57
commit
d450f088eb
-17
@@ -975,23 +975,6 @@ private data class CompatibleUpdateRequest(
|
||||
)
|
||||
}
|
||||
|
||||
private data class CompatibleUpdateForModuleRequest(
|
||||
val module: String,
|
||||
val build: String,
|
||||
val os: String = OS.CURRENT.name,
|
||||
val arch: String = CpuArch.CURRENT.name,
|
||||
) {
|
||||
|
||||
@JvmOverloads
|
||||
constructor(
|
||||
module: String,
|
||||
buildNumber: BuildNumber? = null,
|
||||
) : this(
|
||||
module,
|
||||
ApplicationInfoImpl.orFromPluginCompatibleBuild(buildNumber),
|
||||
)
|
||||
}
|
||||
|
||||
private fun Logger.infoOrDebug(
|
||||
message: String,
|
||||
throwable: Throwable,
|
||||
|
||||
-3
@@ -56,9 +56,6 @@ object MarketplaceUrls {
|
||||
"${getPluginManagerUrl()}/api/search/aggregation/$field"
|
||||
).addParameters(mapOf("build" to IDE_BUILD_FOR_REQUEST))
|
||||
|
||||
@Deprecated("Use getSearchPluginsUpdatesUrl() instead")
|
||||
fun getSearchCompatibleUpdatesUrl(): String = Urls.newFromEncoded("${getPluginManagerUrl()}/api/search/compatibleUpdates").toExternalForm()
|
||||
|
||||
fun getSearchPluginsUpdatesUrl(): String = Urls.newFromEncoded("${getPluginManagerUrl()}/api/search/updates/compatible").toExternalForm()
|
||||
|
||||
fun getSearchNearestUpdate(): String = Urls.newFromEncoded("${getPluginManagerUrl()}/api/search/updates/nearest").toExternalForm()
|
||||
|
||||
Reference in New Issue
Block a user