small fix for plasmaURLPool.getURL() needed for new alternative htcache layout

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2719 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
hermens 19 years ago
parent 440c6ee657
commit 6557112d8f

@ -79,8 +79,10 @@ public class plasmaURLPool {
public URL getURL(String urlhash) throws IOException {
if (urlhash.equals(indexURL.dummyHash)) return null;
try {
plasmaCrawlNURL.Entry ne = noticeURL.getEntry(urlhash);
if (ne != null) return ne.url();
} catch (IOException e) {}
plasmaCrawlLURL.Entry le = loadedURL.load(urlhash, null);
if (le != null) return le.url();
plasmaCrawlEURL.Entry ee = errorURL.getEntry(urlhash);

Loading…
Cancel
Save