From cc5dcf69ff3a6c67419c22e2f52f9d00bab157a7 Mon Sep 17 00:00:00 2001 From: orbiter Date: Thu, 14 Jan 2010 14:20:18 +0000 Subject: [PATCH] missing change for last commit git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6585 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/net/yacy/kelondro/table/Table.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/yacy/kelondro/table/Table.java b/source/net/yacy/kelondro/table/Table.java index d96b4218d..8c448c8c4 100644 --- a/source/net/yacy/kelondro/table/Table.java +++ b/source/net/yacy/kelondro/table/Table.java @@ -284,8 +284,8 @@ public class Table implements ObjectIndex, Iterable { return this.table != null; } - public static int staticRAMIndexNeed(final File f, final Row rowdef) throws IOException { - return (int) (((long)(rowdef.primaryKeyLength + 4)) * tableSize(f, rowdef.objectsize) * RowCollection.growfactorLarge100 / 100L); + public static long staticRAMIndexNeed(final File f, final Row rowdef) throws IOException { + return (((long)(rowdef.primaryKeyLength + 4)) * tableSize(f, rowdef.objectsize) * RowCollection.growfactorLarge100 / 100L); } public synchronized void addUnique(final Entry row) throws IOException, RowSpaceExceededException {