git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7630 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 14 years ago
parent 9b25d07295
commit 8412f8787d

@ -98,9 +98,9 @@ public final class BufferedRecords {
final byte[] bb; final byte[] bb;
synchronized (this) { synchronized (this) {
assert b.length - start >= efs.recordsize; assert b.length - start >= efs.recordsize;
if (index >= size()) throw new IndexOutOfBoundsException("kelondroBufferedEcoFS.get(" + index + ") outside bounds (" + this.size() + ")");
bb = buffer.get(idx); bb = buffer.get(idx);
if (bb == null) { if (bb == null) {
if (index >= size()) throw new IndexOutOfBoundsException("kelondroBufferedEcoFS.get(" + index + ") outside bounds (" + this.size() + ")");
efs.get(index, b, start); efs.get(index, b, start);
return; return;
} }

Loading…
Cancel
Save