return new RemoveRandomReturn(wakeupTime);
} else if(valid == 1) {
ret = validItem;
if(logMINOR) Logger.minor(this, "No valid or excluded items apart from "+ret+" total "+index);
if(persistent && changedMe) {
<BUG>container.store(blocks[0]);

container.store(this);</BUG>
}
return new RemoveRandomReturn(ret);

return new RemoveRandomReturn(wakeupTime);
} else if(valid == 1) {
ret = validItem;
if(logMINOR) Logger.minor(this, "No valid or excluded items apart from "+ret+" total "+index);
if(persistent && changedMe) {
container.store(blocks[blockNumReading]);
if(blockNumReading != blockNumWriting)
container.store(blocks[blockNumWriting]);
container.store(this);
}
return new RemoveRandomReturn(ret);
