removed superfluous assert

pull/1/head
Michael Peter Christen 11 years ago
parent 0ba6b98d5b
commit 501d55cd35

@ -683,7 +683,6 @@ public class HeapReader {
* @throws IOException
*/
public CloneableIterator<byte[]> keys(final boolean up, final boolean rotating) throws IOException {
assert (this.index != null) : "index == null; closeDate=" + this.closeDate + ", now=" + new Date();
if (this.index == null) {
log.severe("this.index == null in keys(); closeDate=" + this.closeDate + ", now=" + new Date() + this.heapFile == null ? "" : (" file = " + this.heapFile.toString()));
return null;

Loading…
Cancel
Save