Versions Compared

Key

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

...

Avoid mixing the different boxed integer types. If an arithmetic operation is expected to produce a primitive type which may be get autoboxed to a wrong type, add explicit casts to the primitive type before allowing autoboxing to take over.

...