Skip to content

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

added missing flush statement

orbiter14490f0a8340
diff --git a/source/de/anomic/kelondro/kelondroRowBufferedSet.java b/source/de/anomic/kelondro/kelondroRowBufferedSet.java
index 84345c13f..13886ac64 100644
--- a/source/de/anomic/kelondro/kelondroRowBufferedSet.java
+++ b/source/de/anomic/kelondro/kelondroRowBufferedSet.java
@@ -174,7 +174,8 @@ public class kelondroRowBufferedSet implements kelondroIndex {
return store.row();
}
- public Iterator rows(boolean up, boolean rotating, byte[] firstKey) {
+ public synchronized Iterator rows(boolean up, boolean rotating, byte[] firstKey) {
+ flush();
return store.rows(up, rotating, firstKey);
}
}