[
https://issues.apache.org/jira/browse/CB-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grieve resolved CB-4908.
-------------------------------
Resolution: Fixed
Assignee: Bas Bosman
Fixed in 0.2.6-dev
> FB - Globalization.java - use valueOf instead of new Long/new Integer
> ---------------------------------------------------------------------
>
> Key: CB-4908
> URL: https://issues.apache.org/jira/browse/CB-4908
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: Android
> Affects Versions: 2.9.0
> Reporter: Peter
> Assignee: Bas Bosman
> Priority: Minor
>
> Resolve FindBugs reported issues in *Globalization.java*:
> Before
> {code}
> obj.put("millisecond", new Long(0));
> {code}
> After
> {code}
> obj.put("millisecond", Long.valueOf(0));
> {code}
> Before (2 places)
> {code}
> obj.put("rounding", new Integer(0));
> {code}
> After
> {code}
> obj.put("rounding", Integer.valueOf(0));
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)