mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[platform] refactoring: use Url type instead of String where possible in BaseJetBrainsExternalProductResourceUrls (IJPL-204)
This improves type-safety and consistency (IJ-CR-113542). GitOrigin-RevId: c57462784ebdfd35fc371eff4310d01957929ee3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
75069bb066
commit
9ea400899a
@@ -9,11 +9,11 @@ import com.intellij.util.Url
|
||||
import com.intellij.util.Urls
|
||||
|
||||
class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrls() {
|
||||
override val basePatchDownloadUrl: String
|
||||
get() = "https://download.jetbrains.com/idea/"
|
||||
override val basePatchDownloadUrl: Url
|
||||
get() = Urls.newFromEncoded("https://download.jetbrains.com/idea/")
|
||||
|
||||
override val productPageUrl: String
|
||||
get() = "https://www.jetbrains.com/idea/"
|
||||
override val productPageUrl: Url
|
||||
get() = Urls.newFromEncoded("https://www.jetbrains.com/idea/")
|
||||
|
||||
override val youtrackProjectId: String
|
||||
get() = "IDEA"
|
||||
@@ -52,6 +52,6 @@ class IntelliJIdeaExternalResourceUrls : BaseJetBrainsExternalProductResourceUrl
|
||||
override val gettingStartedPageUrl: Url
|
||||
get() = Urls.newFromEncoded("https://www.jetbrains.com/idea/resources/")
|
||||
|
||||
override val baseWebHelpUrl: String
|
||||
get() = "https://www.jetbrains.com/help/idea/"
|
||||
override val baseWebHelpUrl: Url
|
||||
get() = Urls.newFromEncoded("https://www.jetbrains.com/help/idea/")
|
||||
}
|
||||
Reference in New Issue
Block a user