Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1430

Restore commit method to AtomicAction

XMLWordPrintable

      At some point someone deprecated the commit method in AtomicAction and left the following comment:

      @deprecated Only used by tests

      This is wrong. Just because we don't use the commit method in the code does not mean it is invalid in the scope of the public API. The commit method without the boolean parameter is a helper method to simplify calling the other commit with true all of the time. This was added years ago based on feedback from the OTS Current implementation, which had (in C++) a default boolean=true parameter in its signature.

              thjenkin@redhat.com Tom Jenkinson
              nmcl2001 Mark Little
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: