]
Gytis Trikleris reassigned JBTM-2718:
-------------------------------------
Assignee: Gytis Trikleris
Make CompensatableActionImpl.WorkInfo class static
--------------------------------------------------
Key: JBTM-2718
URL:
https://issues.jboss.org/browse/JBTM-2718
Project: JBoss Transaction Manager
Issue Type: Task
Components: Compensations
Reporter: Gytis Trikleris
Assignee: Gytis Trikleris
Priority: Trivial
Fix For: 5.next
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.