You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2018/01/29 16:50:03 UTC
[jira] [Resolved] (BEAM-3560) Switch to use
BigInteger/BigDecimal.ZERO/ONE/TEN
[ https://issues.apache.org/jira/browse/BEAM-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved BEAM-3560.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
> Switch to use BigInteger/BigDecimal.ZERO/ONE/TEN
> ------------------------------------------------
>
> Key: BEAM-3560
> URL: https://issues.apache.org/jira/browse/BEAM-3560
> Project: Beam
> Issue Type: Improvement
> Components: beam-model
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Priority: Trivial
> Fix For: 2.3.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)