if (this.positive == null) {
} else if (this.positive) {
this.archive.setConfirmed(true);
logger.info("{}| confirm: identifier= {}, resourceKey= {}, resourceXid= {}.",
ByteUtils.byteArrayToString(transactionContext.getXid().getGlobalTransactionId()),
<BUG>this.archive.getIdentifier(), this.archive.getCompensableResourceKey(),
this.archive.getCompensableXid());
} else {</BUG>
this.archive.setCancelled(true);
logger.info("{}| cancel: identifier= {}, resourceKey= {}, resourceXid= {}.",

if (this.positive == null) {
} else if (this.positive) {
this.archive.setConfirmed(true);
logger.info("{}| confirm: identifier= {}, resourceKey= {}, resourceXid= {}.",
ByteUtils.byteArrayToString(transactionContext.getXid().getGlobalTransactionId()),
ByteUtils.byteArrayToString(this.archive.getIdentifier().getGlobalTransactionId()),
this.archive.getCompensableResourceKey(), this.archive.getCompensableXid());
} else {
this.archive.setCancelled(true);
logger.info("{}| cancel: identifier= {}, resourceKey= {}, resourceXid= {}.",
