*) bugfix for URL generation from file

see: http://www.yacy-forum.de/viewtopic.php?p=24116

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2326 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
theli 2006-07-25 16:18:45 +00:00
parent ad692fc6c7
commit 0db237467f

View File

@ -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 {