Tinder

Modify JID-implementation to be immutable

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major 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.

Activity

Hide
Guus der Kinderen added a comment -

JIDs members cannot be changed after they have been set by a constructor.

Show
Guus der Kinderen added a comment - JIDs members cannot be changed after they have been set by a constructor.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: