Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3560

Switch to use BigInteger/BigDecimal.ZERO/ONE/TEN

Details

    • Improvement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 2.3.0
    • beam-model
    • None

    Description

      Currently there are some instances of "new BigInteger/BigDecimal(0)" (or 1 or 10) in the code. Instead it's better to use BigInteger.ZERO etc. to avoid creating new objects that are not required.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            coheigea Colm O hEigeartaigh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: