This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235702

Summary: Implement "Performance bugs" hints
Product: java Reporter: Svata Dedic <sdedic>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal Keywords: PLAN
Priority: P1    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Svata Dedic 2013-09-09 12:38:51 UTC
The following hints should be implemented:

* 'StringBuffer' can be replaced with 'String'
* Boxing of already boxed value
* Call to 'Collection.toArray()' with zero-length array argument
* Manual array copy
* Unnecessary temporary object in conversion from String
* Unnecessary temporary object in conversion to String
Comment 1 Svata Dedic 2013-10-31 15:32:37 UTC
Implemented - jet-main#f7e1dab6db20, jet-main#539f6e32562e, jet-main#39f5be4e87b8, jet-main#72c0feeeb527