mbien commented on pull request #3656: URL: https://github.com/apache/netbeans/pull/3656#issuecomment-1047518994
hi Brad, the current code inspection in NB for this is not optimal. There is a PR in queue which attempts to fix some of it https://github.com/apache/netbeans/pull/3240 for example ```diff - int timeout = new Integer(startingStateTimeout); + int timeout = Integer.valueOf(startingStateTimeout); ``` should be `Integer.parseInt(startingStateTimeout)`, since the target type (`int timeout`) is primitive. @lkishalmi has also a PR here https://github.com/apache/netbeans/pull/2498 which attempts the same cleanup. I don't know the state of it, maybe he can comment. -- 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
