Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
We should get the absolute path and then get the path without schema.
Current code is like:
Path path = Path.getPathWithoutSchemeAndAuthority(srcf);
return path.makeQualified(path.toUri(), currentWorkingDir).toString();
The correct order should be like:
Path path = srcf.makeQualified(srcf.toUri(), currentWorkingDir);
Path.getPathWithoutSchemeAndAuthority(path).toString();