cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter (JIRA)" <>
Subject [jira] [Created] (CB-4908) FB - - use valueOf instead of new Long/new Integer
Date Wed, 25 Sep 2013 01:26:02 GMT
Peter created CB-4908:

             Summary: FB - - use valueOf instead of new Long/new Integer
                 Key: CB-4908
             Project: Apache Cordova
          Issue Type: Task
          Components: Android
    Affects Versions: 2.9.0
            Reporter: Peter
            Priority: Minor

Resolve FindBugs reported issues in **:

obj.put("millisecond", new Long(0)); 
obj.put("millisecond", Long.valueOf(0)); 

Before (2 places)
obj.put("rounding", new Integer(0)); 
obj.put("rounding", Integer.valueOf(0));

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message