Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352429

Summary: [quick fix] Quick Fix to change the method is not a good suggestion
Product: [Eclipse Project] JDT Reporter: Ankur Sharma <ankur_sharma>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, deepakazad
Version: 3.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***