From 2b3224807986c65414ffa03dacee77a42561403d Mon Sep 17 00:00:00 2001 From: orbiter Date: Sun, 11 Jan 2009 19:02:50 +0000 Subject: [PATCH] fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1516&p=10545#p10545 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5468 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/crawler/CrawlStacker.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/source/de/anomic/crawler/CrawlStacker.java b/source/de/anomic/crawler/CrawlStacker.java index bebe0f788..c3cf24db4 100644 --- a/source/de/anomic/crawler/CrawlStacker.java +++ b/source/de/anomic/crawler/CrawlStacker.java @@ -298,17 +298,14 @@ public final class CrawlStacker { if (proxy) this.log.logWarning("URL '" + entry.url().toString() + "' has conflicting initiator properties: global = true, proxy = true, initiator = " + entry.initiator() + ", profile.handle = " + profile.handle()); if (remote) this.log.logWarning("URL '" + entry.url().toString() + "' has conflicting initiator properties: global = true, remote = true, initiator = " + entry.initiator() + ", profile.handle = " + profile.handle()); nextQueue.noticeURL.push(NoticedURL.STACK_TYPE_LIMIT, entry); - } - if (local) { + } else if (local) { if (proxy) this.log.logWarning("URL '" + entry.url().toString() + "' has conflicting initiator properties: local = true, proxy = true, initiator = " + entry.initiator() + ", profile.handle = " + profile.handle()); if (remote) this.log.logWarning("URL '" + entry.url().toString() + "' has conflicting initiator properties: local = true, remote = true, initiator = " + entry.initiator() + ", profile.handle = " + profile.handle()); nextQueue.noticeURL.push(NoticedURL.STACK_TYPE_CORE, entry); - } - if (proxy) { + } else if (proxy) { if (remote) this.log.logWarning("URL '" + entry.url().toString() + "' has conflicting initiator properties: proxy = true, remote = true, initiator = " + entry.initiator() + ", profile.handle = " + profile.handle()); nextQueue.noticeURL.push(NoticedURL.STACK_TYPE_CORE, entry); - } - if (remote) { + } else if (remote) { nextQueue.noticeURL.push(NoticedURL.STACK_TYPE_REMOTE, entry); } }