if (txMap.get(itemId) == null) {
throw new TransactionException("No reserve for itemId: " + itemId);
}
return true;
}
<BUG>public QueueItem txnPollReserve() {
</BUG>
QueueItem item = getItemQueue().poll();
if (item == null) {
<BUG>return null;
}</BUG>
if (store.isEnabled() && item.getData() == null) {

if (txMap.get(itemId) == null) {
throw new TransactionException("No reserve for itemId: " + itemId);
}
return true;
}
public QueueItem txnPollReserve(long reservedOfferId) {
QueueItem item = getItemQueue().poll();
if (item == null) {
item = txMap.remove(reservedOfferId);
return item;
}
if (store.isEnabled() && item.getData() == null) {
