From 60caade056fb8598f53bbddfe63a2f3e50a589d7 Mon Sep 17 00:00:00 2001 From: orbiter Date: Thu, 22 Jul 2010 07:59:22 +0000 Subject: [PATCH] removed debug output git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6984 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/net/yacy/kelondro/blob/ArrayStack.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/net/yacy/kelondro/blob/ArrayStack.java b/source/net/yacy/kelondro/blob/ArrayStack.java index 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 array bi = new blobItem(buffersize);