Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
removed debug output
orbiter60caade056fb
diff --git a/source/net/yacy/kelondro/blob/ArrayStack.java b/source/net/yacy/kelondro/blob/ArrayStack.javaindex b5aebf580..95f578f79 100755--- a/source/net/yacy/kelondro/blob/ArrayStack.java+++ b/source/net/yacy/kelondro/blob/ArrayStack.java@@ -665,12 +665,14 @@ public class ArrayStack implements BLOB {*/public synchronized void put(byte[] key, byte[] b) throws IOException {blobItem bi = (blobs.isEmpty()) ? null : blobs.get(blobs.size() - 1);+ /*if (bi == null)System.out.println("bi == null");else if (System.currentTimeMillis() - bi.creation.getTime() > this.fileAgeLimit)System.out.println("System.currentTimeMillis() - bi.creation.getTime() > this.maxage");else if (bi.location.length() > this.fileSizeLimit)System.out.println("bi.location.length() > this.maxsize");+ */if ((bi == null) || (System.currentTimeMillis() - bi.creation.getTime() > this.fileAgeLimit) || (bi.location.length() > this.fileSizeLimit)) {// add a new blob to the arraybi = new blobItem(buffersize);