mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
prefer NIO
GitOrigin-RevId: 6171abc8a7237ebf00074d60f19600082ecc3e3c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
17c901a27a
commit
e2b0847717
+1
-1
@@ -140,6 +140,6 @@ public final class PathRelativizerService {
|
||||
if (url == null || url.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
return JpsPathUtil.urlToFile(url).getAbsolutePath();
|
||||
return Path.of(JpsPathUtil.urlToPath(url)).toAbsolutePath().toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user