Bug 352429 - [quick fix] Quick Fix to change the method is not a good suggestion
Summary: [quick fix] Quick Fix to change the method is not a good suggestion
Status: CLOSED DUPLICATE of bug 297873
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 05:36 EDT by Ankur Sharma CLA
Modified: 2011-07-19 06:08 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ankur Sharma CLA 2011-07-19 05:36:59 EDT
Snippet

List<String> list = new ArrayList<>();
list.add(Boolean.FALSE);

The second line correct shows the compile error. However, the quickfix suggests to change the method to addAll. This does not makes sense as after applying it the same problem persists.


I20110613-1736
Comment 1 Dani Megert CLA 2011-07-19 06:08:42 EDT

*** This bug has been marked as a duplicate of bug 297873 ***