Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for bug introduced in SVN 5281: parameters were switched
orbiter382226da94e0
diff --git a/source/de/anomic/crawler/CrawlEntry.java b/source/de/anomic/crawler/CrawlEntry.javaindex 7cbae7968..24a58c057 100755--- a/source/de/anomic/crawler/CrawlEntry.java+++ b/source/de/anomic/crawler/CrawlEntry.java@@ -131,6 +131,7 @@ public class CrawlEntry {assert url != null;assert initiator != null;assert referrerhash != null;+ assert profileHandle.length() == yacySeedDB.commonHashLength : profileHandle + " != " + yacySeedDB.commonHashLength;this.initiator = initiator;this.url = url;this.refhash = referrerhash;@@ -285,6 +286,7 @@ public class CrawlEntry {public String profileHandle() {// the handle of the crawl profile+ assert profileHandle.length() == yacySeedDB.commonHashLength : profileHandle + " != " + yacySeedDB.commonHashLength;return this.profileHandle;}diff --git a/source/de/anomic/crawler/CrawlQueues.java b/source/de/anomic/crawler/CrawlQueues.javaindex 7047b041c..31411dfa3 100644--- a/source/de/anomic/crawler/CrawlQueues.java+++ b/source/de/anomic/crawler/CrawlQueues.java@@ -1,4 +1,4 @@-// plasmaCrawlQueues.java+// CrawlQueues.java// (C) 2007 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany// first published 29.10.2007 on http://yacy.net//@@ -217,7 +217,7 @@ public class CrawlQueues {* @param stats String for log prefixing* @return*/- private void generateCrawl(CrawlEntry urlEntry, final String profileHandle, final String stats) {+ private void generateCrawl(CrawlEntry urlEntry, final String stats, final String profileHandle) {final CrawlProfile.entry profile = sb.webIndex.profilesActiveCrawls.getEntry(profileHandle);if (profile != null) {