if (log.isDebugEnabled()) { log.debug("end called with no transaction associated: " + id + ", flags: " + flags); }
log.debug("end called with no transaction associated: " + id + ", flags: " + flags);
    public void end(Xid id, int flags) throws javax.transaction.xa.XAException {       if (log.isDebugEnabled())        {          log.debug("End called: " + id);       } // end of if ()        if (currentTr == null) {            //XAException xae = new XAException("end called with no transaction associated");           if (log.isDebugEnabled())            {               log.debug("end called with no transaction associated: " + id + ", flags: " + flags);//, new Exception());           } // end of if ()           //throw xae;           return;        }        if (mcf.lookupXid(id) != currentTr) {            throw new XAException("end called with wrong xid");        }        currentTr = null;    }