Skip to content

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

bugfix for list()

orbiter44033049570e
diff --git a/source/net/yacy/kelondro/blob/BEncodedHeapArray.java b/source/net/yacy/kelondro/blob/BEncodedHeapArray.java
index 7c6513607..fa3c03d3c 100644
--- a/source/net/yacy/kelondro/blob/BEncodedHeapArray.java
+++ b/source/net/yacy/kelondro/blob/BEncodedHeapArray.java
@@ -51,7 +51,7 @@ public class BEncodedHeapArray {
private int keymaxlen;
public BEncodedHeapArray(final File location, final int keymaxlen) {
- this.location = location;
+ this.location = new File(location.getAbsolutePath());
this.keymaxlen = keymaxlen;
this.tables = new ConcurrentHashMap<String, BEncodedHeap>();
String[] files = this.location.list();