From 4377e119f3acbfb33ff0529482f5145d4b7b5a0c Mon Sep 17 00:00:00 2001 From: orbiter Date: Tue, 2 Aug 2005 10:41:59 +0000 Subject: [PATCH] bugfix for http://www.yacy-forum.de/viewtopic.php?p=6620#6620 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@476 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaCrawlLURL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaCrawlLURL.java b/source/de/anomic/plasma/plasmaCrawlLURL.java index ddfe183ce..f67f3f679 100644 --- a/source/de/anomic/plasma/plasmaCrawlLURL.java +++ b/source/de/anomic/plasma/plasmaCrawlLURL.java @@ -308,7 +308,7 @@ public class plasmaCrawlLURL extends plasmaURL { prop.put("table_indexed_" + c + "_moddate", daydate(urle.moddate())); prop.put("table_indexed_" + c + "_wordcount", urle.wordCount()); prop.put("table_indexed_" + c + "_urldescr", urle.descr()); - prop.put("table_indexed_" + c + "_url", (makeLink) ? ("" + urle.url().toString() + "") : urle.url().toString()); + prop.put("table_indexed_" + c + "_url", (urle.url() == null) ? "-not-cached-" : ((makeLink) ? ("" + urle.url().toString() + "") : urle.url().toString())); dark = !dark; c++; } catch (Exception e) {