Title: Roll Back a Transaction The example is under rollback chapter. Please, use rollback() method in the example. And please consider fixing indentation of comment (// Commit the transaction) and three dots above it. This concerns the example in commit transaction chapter as well.
The example does have rollback() in the try{} clause. I don't think you would ever roll back the transaction on purpose, would you? I have fixed the indentation, which resulted from a tabs/spaces issue. The fix is in revision 501553 but is not yet available for review.
You're absolutely right. Sorry. I was just quickly checking the text and I was misguided by the fact that the examples in commit and rollback chapters are the same.
I also made the change to topic 4305 (Commit a transaction) to fix the alignment error in the code sample. The main issue of this bug is now moot, as per the last comment, and I do not think alignment issues need a full QE cycle, so moving this straight to VERIFIED.