changeState(State.STATE_COMPLETED) ;
}
}
if (current == State.STATE_COMPLETING) {
// ok we need to write the participant details to disk because it has just completed
BAParticipantRecoveryRecord recoveryRecord = new BAParticipantRecoveryRecord(id, participant, false, coordinator);
if (!XTSBARecoveryManager.getRecoveryManager().writeParticipantRecoveryRecord(recoveryRecord)) {
// hmm, could not write entry log warning
if (WSTLogger.arjLoggerI18N.isWarnEnabled())
{