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

Make CompensatableActionImpl.WorkInfo class static

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Trivial Trivial
    • 5.3.4.Final
    • None
    • Compensations
    • None

      If inner class does not require access to an enclosing instance there should be preffered to use inner static class.
      (21902 SIC: Inner class could be made static
      This class is an inner class, but does not use its embedded reference to the object which created it.)
      As reference I would mention Joshua Bloch: Effective Java, item 22.

              gtrikler@redhat.com Gytis Trikleris (Inactive)
              gtrikler@redhat.com Gytis Trikleris (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: