| Summary: | [quick fix] 'Change type to List<String>' is offered on constructor invocation. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Deepak Azad <deepakazad> | ||||||
| Component: | UI | Assignee: | Deepak Azad <deepakazad> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | daniel_megert, deepakazad, markus.kell.r | ||||||
| Version: | 3.7 | Flags: | markus.kell.r:
review+
|
||||||
| Target Milestone: | 3.7.1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
IIRC, this quick fix is new in 3.7, so marking this bug as 3.7.1 candidate. Created attachment 201288 [details]
fix+test
Fixed in HEAD and 3.7.1. Verified in M20110824-0800 on Linux. |
Created attachment 199503 [details] screenshot ------------------------------------------- List<String> list=null; list= new ArrayList(); //QF on ArrayList ------------------------------------------- The quick fix does not make sense here, interfaces and abstract types should not be proposed for constructor invocations.