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 - Implement "Performance bugs" hints
Summary: Implement "Performance bugs" hints
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2013-09-09 12:38 UTC by Svata Dedic
Modified: 2013-10-31 15:32 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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