Skip to content

Commit

Permalink
Re-add hacky path change because I don't want to re-write tests right…
Browse files Browse the repository at this point in the history
… now
  • Loading branch information
LexManos committed Jan 1, 2024
1 parent a91c526 commit 90a6005
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,13 @@ private PathFileSystem newFileSystemInternal(final String key, final Path path)
}

private String makeKey(URI uri) {
return uri.normalize().getRawSchemeSpecificPart();
final String keyValue = uri.normalize().getRawSchemeSpecificPart();

// TODO: [JJ] Remove this crap
if (keyValue.startsWith("//"))
return keyValue.substring(2);

return keyValue;
}

private String makeKey(Path path) {
Expand Down

0 comments on commit 90a6005

Please sign in to comment.