-
Task
-
Resolution: Done
-
Major
-
7.0.2.Final
-
None
Review com.arjuna.ats.arjuna.coordinator.ActionManager. In particular:
- Remove the `getTimeAdded` method (which was deprecated a long time ago)
- As a consequence of the previous point, the `Lifetime` class can be deprecated/removed (as it is an internal class, I vote for removing it)
- Remove the `final` keyword from the static method `manager`
- `_allActions` doesn't need to be static (as ActionManager is Singleton)
- Reformat the whole ActionManager class (if it is preferred a dedicated JBTM for this point, please create a subtask within this issue tracker)
Reason to review this class: `ActionManager.getTimeAdded` has been deprecated for a long time and we should take the next step we already announced (i.e. remove it). As the Lifetime class is an internal class and it is only used in `getTimeAdded`, we should also remove that class and simplify the Map that use it
There are no Sub-Tasks for this issue.