fix for bug introduced in SVN 5281: parameters were switched

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5282 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 17 years ago
parent f2fd043797
commit 382226da94

@ -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;
}

@ -1,4 +1,4 @@
// plasmaCrawlQueues.java
// CrawlQueues.java
// (C) 2007 by Michael Peter Christen; mc@yacy.net, 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) {

Loading…
Cancel
Save