mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ensure that Url type is used for newLocalFileUrl
This commit is contained in:
@@ -60,10 +60,10 @@ object Urls {
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun newLocalFileUrl(path: String) = LocalFileUrl(FileUtilRt.toSystemIndependentName(path))
|
||||
fun newLocalFileUrl(path: String): Url = LocalFileUrl(FileUtilRt.toSystemIndependentName(path))
|
||||
|
||||
@JvmStatic
|
||||
fun newLocalFileUrl(file: VirtualFile) = LocalFileUrl(file.path)
|
||||
fun newLocalFileUrl(file: VirtualFile): Url = LocalFileUrl(file.path)
|
||||
|
||||
@JvmStatic
|
||||
fun newFromEncoded(url: String): Url {
|
||||
|
||||
Reference in New Issue
Block a user