This commit is contained in:
Joel Dice
2007-08-19 14:24:26 -06:00
parent 59638543c7
commit 7a340fd8fb
4 changed files with 9 additions and 6 deletions

View File

@ -60,7 +60,10 @@ public abstract class URLStreamHandler {
}
}
if (url.getFile() != null) {
sb.append("/").append(url.getFile());
if (url.getHost() != null) {
sb.append("/");
}
sb.append(url.getFile());
}
return sb.toString();
}