Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: new rule

...

Another pitfall arises when static-final is inappropriately used to declare mutable data. (See OBJ03-J. Be careful about aware that a final reference may not always refer to immutable data).

Noncompliant Code Example

...