PathManager: unnecessary 'toCanonicalPath' removed

This commit is contained in:
nik
2014-09-04 15:14:50 +04:00
parent 01db84e63a
commit f63a8d740c
@@ -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){