Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typo

...

Although final is most often safe for creating compile time immutable constants, its use has a few caveats when dealing with composite objects (mutable data in particular). See guideline OBJ01-J. Be aware that a final reference may not always refer to immutable _mutable_ data for more details.

Noncompliant Code Example

...