[jbossts-issues] [JBoss JIRA] (JBTM-2718) Make CompensatableActionImpl.WorkInfo class static
Tom Jenkinson (JIRA)
issues at jboss.org
Fri Aug 12 09:08:02 EDT 2016
[ https://issues.jboss.org/browse/JBTM-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Jenkinson closed JBTM-2718.
-------------------------------
> 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.3.4.Final
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbossts-issues
mailing list