[MGNLWORKFLOW-22] Use thread-safe parser Created: 15/Jan/13 Updated: 11/Feb/13 Resolved: 15/Jan/13 |
|
| Status: | Closed |
| Project: | Magnolia Workflow Module |
| Component/s: | jBPM |
| Affects Version/s: | None |
| Fix Version/s: | 5.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Description |
|
Currently info.magnolia.module.workflow.jbpm.JbpmWorkflowUtil is using a class-level instance of non thread-safe java.text.SimpleDateFormat to perform some parsing in method computeDelay(). True that method is synchronized but since we use joda-time anyway, we could just take advantage of its thread-safe DateTimeFormatter object and remove synchronization. |