mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove protected — maybe kotlin will be happy
This commit is contained in:
@@ -32,7 +32,7 @@ abstract class HttpRequestHandler {
|
||||
val EP_NAME = ExtensionPointName.create<HttpRequestHandler>("com.intellij.httpRequestHandler")!!
|
||||
|
||||
@JvmStatic
|
||||
protected fun checkPrefix(uri: String, prefix: String): Boolean {
|
||||
fun checkPrefix(uri: String, prefix: String): Boolean {
|
||||
if (uri.length > prefix.length && uri[0] == '/' && uri.regionMatches(1, prefix, 0, prefix.length, ignoreCase = true)) {
|
||||
if (uri.length - prefix.length == 1) {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user