Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1 - Concurrency
-
Component/s: None
-
Labels:None
-
Acceptance Test - Add?:No
Description
Immutable objects are thread safe by definition.
A JID doesn't normally change after it has been created. Therefor, the implementation could be made immutable. This will guarantee that the implementation will not suffer from concurrency-related bugs.
JIDs members cannot be changed after they have been set by a constructor.