mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
IJent cleanup: implement IjentNioFileSystemProvider.newFileSystem(Path, Map)
GitOrigin-RevId: 9d9c9803320defad1d87e77a59ab864e01e33be8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f1d07ce761
commit
a22f1c994e
@@ -70,6 +70,9 @@ class IjentNioFileSystemProvider : FileSystemProvider() {
|
||||
return fs
|
||||
}
|
||||
|
||||
override fun newFileSystem(path: Path, env: MutableMap<String, *>?): IjentNioFileSystem =
|
||||
newFileSystem(path.toUri(), env)
|
||||
|
||||
override fun getFileSystem(uri: URI): IjentNioFileSystem {
|
||||
typicalUriChecks(uri)
|
||||
return registeredFileSystems[IjentId(uri.host)] ?: throw FileSystemNotFoundException()
|
||||
|
||||
Reference in New Issue
Block a user