mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PathManager: unnecessary 'toCanonicalPath' removed
This commit is contained in:
@@ -418,7 +418,7 @@ public class PathManager {
|
||||
|
||||
private static String getAbsolutePath(String path) {
|
||||
path = FileUtil.expandUserHome(path);
|
||||
return FileUtil.toCanonicalPath(new File(FileUtil.toCanonicalPath(path)).getAbsolutePath());
|
||||
return FileUtil.toCanonicalPath(new File(path).getAbsolutePath());
|
||||
}
|
||||
|
||||
private static String trimPathQuotes(String path){
|
||||
|
||||
Reference in New Issue
Block a user