diff --git a/source/de/anomic/net/URL.java b/source/de/anomic/net/URL.java index fa7529619..b9e8c99b0 100644 --- a/source/de/anomic/net/URL.java +++ b/source/de/anomic/net/URL.java @@ -76,7 +76,7 @@ public class URL { } public URL(File file) throws MalformedURLException { - this("file", null, -1, file.getAbsolutePath()); + this("file", "", -1, file.getAbsolutePath()); } public URL(URL baseURL, String relPath) throws MalformedURLException {