pull/1/head
Michael Peter Christen 11 years ago
parent 63c9fcf3e0
commit 5b83887da8

@ -166,7 +166,6 @@ public final class Heap extends HeapModifier implements BLOB {
* @throws SpaceExceededException
*/
public void flushBuffer() throws IOException {
assert this.buffer != null;
if (this.buffer == null) return;
// check size of buffer

@ -150,6 +150,7 @@ public class NewsDB {
}
public synchronized Record get(final String id) throws IOException {
if (this.news == null) return null;
try {
return b2r(this.news.get(UTF8.getBytes(id), false));
} catch (final kelondroException e) {

Loading…
Cancel
Save