Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is not always the case that classes that use immutable objects are themselves immutable. Immutable objects are thread-safe, however, classes composed of immutable objects may not be unless this guideline is followed.

Noncompliant Code Example

...