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

Make CompensatableActionImpl.WorkInfo class static

    XMLWordPrintable

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gytis Gytis Trikleris
                Reporter:
                gytis Gytis Trikleris
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: