Skip to content

Commit

Permalink
feat: replace deprecated URL constructor with URI
Browse files Browse the repository at this point in the history
  • Loading branch information
Blarc committed Jul 19, 2024
1 parent d8e5c48 commit 952456d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import com.intellij.openapi.options.ShowSettingsUtil
import com.intellij.openapi.project.Project
import org.jetbrains.annotations.NonNls
import org.jetbrains.annotations.PropertyKey
import java.net.URL
import java.net.URI

@NonNls
private const val BUNDLE = "messages.AiCommitsBundle"

object AICommitsBundle : DynamicBundle(BUNDLE) {

val URL_BUG_REPORT = URL("https://github.com/Blarc/ai-commits-intellij-plugin/issues")
val URL_PROMPTS_DISCUSSION = URL("https://github.com/Blarc/ai-commits-intellij-plugin/discussions/18");
val URL_BUG_REPORT = URI("https://github.com/Blarc/ai-commits-intellij-plugin/issues")
val URL_PROMPTS_DISCUSSION = URI("https://github.com/Blarc/ai-commits-intellij-plugin/discussions/18")

@Suppress("SpreadOperator")
@JvmStatic
Expand Down

0 comments on commit 952456d

Please sign in to comment.