From 39964e88fa66c592df9f6ee58346526f816b5175 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 8 Sep 2008 22:06:45 +0000 Subject: [PATCH] fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1329#p9121 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5129 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/crawler/CrawlEntry.java | 1 - source/de/anomic/crawler/IndexingStack.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/de/anomic/crawler/CrawlEntry.java b/source/de/anomic/crawler/CrawlEntry.java index 07afa0e13..d8756a873 100755 --- a/source/de/anomic/crawler/CrawlEntry.java +++ b/source/de/anomic/crawler/CrawlEntry.java @@ -104,7 +104,6 @@ public class CrawlEntry { assert appdate != null; assert url != null; assert initiator != null; - assert initiator.length() > 0 : "initiator of '"+ url +"' is empty"; assert referrerhash != null; this.initiator = initiator; this.url = url; diff --git a/source/de/anomic/crawler/IndexingStack.java b/source/de/anomic/crawler/IndexingStack.java index 8f87f47c0..e22b89b9f 100644 --- a/source/de/anomic/crawler/IndexingStack.java +++ b/source/de/anomic/crawler/IndexingStack.java @@ -318,7 +318,7 @@ public class IndexingStack { } public String initiator() { - return (initiator == null) ? "" : initiator; + return (initiator == null) ? "------------" : initiator; } public yacySeed initiatorPeer() {