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

Summary: Refactoring: Suggest intelligent types for variable.
Product: java Reporter: Peter Zavadsky <pzavadsky>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.