Versions Compared

Key

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

...

Although final can be used to specify immutable constants, there is a caveat when dealing with composite objects. See VOID OBJ02-J. Never conflate immutability of a reference with that of the referenced object for more details.

Noncompliant Code Example

...

...

DCL51DCL54-JJG. Do not declare more than one variable per declaration      01. Declarations and Initialization (DCL)      Image RemovedDCL55-J. Properly encode relationships in constant definitions