mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
The file already contains the leading slash. hotspot URL.getFile() also returns a leading slash, so instead of removing the leading slash on the file, we just wont append an extra one here
This commit is contained in:
parent
a96f34709c
commit
e6e65ecfdc
@ -72,9 +72,6 @@ public abstract class URLStreamHandler {
|
||||
}
|
||||
}
|
||||
if (url.getFile() != null) {
|
||||
if (url.getHost() != null) {
|
||||
sb.append("/");
|
||||
}
|
||||
sb.append(url.getFile());
|
||||
}
|
||||
return sb.toString();
|
||||
|
Loading…
Reference in New Issue
Block a user