Skip to content

Commit 952456d

Browse files
committed
feat: replace deprecated URL constructor with URI
1 parent d8e5c48 commit 952456d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/kotlin/com/github/blarc/ai/commits/intellij/plugin/AICommitsBundle.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ import com.intellij.openapi.options.ShowSettingsUtil
88
import com.intellij.openapi.project.Project
99
import org.jetbrains.annotations.NonNls
1010
import org.jetbrains.annotations.PropertyKey
11-
import java.net.URL
11+
import java.net.URI
1212

1313
@NonNls
1414
private const val BUNDLE = "messages.AiCommitsBundle"
1515

1616
object AICommitsBundle : DynamicBundle(BUNDLE) {
1717

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

2121
@Suppress("SpreadOperator")
2222
@JvmStatic

0 commit comments

Comments
 (0)