Affects Version/s: None
Fix Version/s: 2.0
FileFilterUtils lazily creates the static fields cvsFilter and svnFilter; however access to the fields is not synchronized and the fields are not volatile.
One thread can create the filter, but the updated value won't necessarily be seen by any/all other threads.
This means that the fields can be created multiple times.
Possible solutions: make the fields volatile, or use the singleton IODH idiom. The latter uses a bit more code, but is probably marginally cheaper if the field is used a lot.
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Workflow||jira [ 12500900 ]||Default workflow, editable Closed status [ 12601908 ]|
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Niall Pemberton [ niallp ]|
|Fix Version/s||2.0 [ 12312961 ]|
|Resolution||Fixed [ 1 ]|