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 135373 - Refactoring: Suggest intelligent types for variable.
Summary: Refactoring: Suggest intelligent types for variable.
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-19 18:12 UTC by Peter Zavadsky
Modified: 2013-09-02 14:24 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 Peter Zavadsky 2008-05-19 18:12:06 UTC
One user at J1 was missing this refactoring case.

The IDE can generate code like this:

ArrayList<Something> list = new ArrayList<Something>();

He would like to have it generate this:

List<Something> list = new ArrayList<Something>();

or to have a hint for the variable type to suggest the List<Something> as default.