Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

bugfix for http://www.yacy-forum.de/viewtopic.php?p=23463#23463 (affected URL DB Cleaner)

orbiter6643da3fbdd0
diff --git a/source/de/anomic/plasma/plasmaCrawlLURL.java b/source/de/anomic/plasma/plasmaCrawlLURL.java
index e5e10b752..b238ca0e0 100644
--- a/source/de/anomic/plasma/plasmaCrawlLURL.java
+++ b/source/de/anomic/plasma/plasmaCrawlLURL.java
@@ -775,11 +775,11 @@ public final class plasmaCrawlLURL extends indexURL {
}
public Object next() throws RuntimeException {
- byte[] e = ((byte[][]) i.next())[0];
+ kelondroRow.Entry e = (kelondroRow.Entry) i.next();
if (e == null) return null;
String hash = null;
try {
- hash = new String(e);
+ hash = new String(e.getColBytes(0));
return new Entry(hash, null);
} catch (IOException ex) {
throw new RuntimeException("error '" + ex.getMessage() + "' for hash " + hash);