acknowledgeNoTx(d);
if (tx == null) {  acknowledgeNoTx(d); return; }  if (log.isTraceEnabled()){ log.trace("acknowledge " + d + (tx == null ? " non-transactionally" : " transactionally in " + tx)); }  try { state.remove(d, tx); } catch (Throwable t) { log.error("Failed to remove delivery " + d + " from state", t); }
   public void acknowledge(Delivery d, Transaction tx)   {      acknowledgeNoTx(d);   }