BradWalker opened a new pull request #3656:
URL: https://github.com/apache/netbeans/pull/3656


   This change cleans up the use of old deprecated numeric constructors..
   
   Warnings like this will no longer happen:
   
   ```
   [repeat] 
/home/bwalker/src/netbeans/java/testng/src/org/netbeans/modules/testng/AbstractTestGenerator.java:1700:
 warning: [deprecation] Float(float) in Float has been deprecated
   [repeat]                     defValue = maker.Literal(new Float(0.0F));
   [repeat]    
   ```                                          ^
   
   The newer implementation favor factory methods like `valueOf`() or 
`parseFloat`() since they are likely to
   yield significantly better space and time performance by caching frequently 
requested values.
   
   
   
   
   ---
   **^Add meaningful description above**
   
   By opening a pull request you confirm that, unless explicitly stated 
otherwise, the changes -
   
    - are all your own work, and you have the right to contribute them.
    - are contributed solely under the terms and conditions of the Apache 
License 2.0 (see section 5 of the license for more information).
   
   Please make sure (eg. `git log`) that all commits have a valid name and 
email address for you in the Author field.
   
   If you're a first time contributor, see the Contributing guidelines for more 
information.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to