docs: public final void commit_one_phase() throws XAException
      {
          if (tc.isEntryEnabled()) Tr.entry(tc, "commit_one_phase", _resource);
          if (tcSummary.isDebugEnabled()) Tr.debug(tcSummary, "commit_one_phase", this);
  
          //
          // Commit the one-phase resource.
          //
          try
          {
              _resource.commit(_xid, true);
  
  			// Record the completion direction and Automatic vote.
  			_completedCommit = true;
  			_vote = JTAResourceVote.commit;
          }
          catch(XAException xae)
          {
  			// Record the completion XA return code
  			_completionXARC = xae.errorCode;
  
  			throw xae;
          }
          finally
          {
              if (tc.isEntryEnabled()) Tr.exit(tc, "commit_one_phase", _completionXARC);
              if (tcSummary.isDebugEnabled()) Tr.debug(tcSummary, "commit_one_phase result: " + 
                                                                  XAReturnCodeHelper.convertXACode(_completionXARC));
          }
      }