Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338089 - [quick fix] "Infer Generic Type Arguments..." shows up twice
Summary: [quick fix] "Infer Generic Type Arguments..." shows up twice
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 09:19 EST by Markus Keller CLA
Modified: 2011-02-24 09:19 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2011-02-24 09:19:03 EST
HEAD

The "Infer Generic Type Arguments..." shows up twice, e.g on class instance creations:

package xy;

import java.util.ArrayList;
import java.util.List;

public class Try {
    void foo() {
        List<String> var= new ArrayList(); // caret in ArrayList, Ctrl+1
    }
}
Comment 1 Markus Keller CLA 2011-02-24 09:19:37 EST
Fixed in HEAD of LocalCorrectionsSubProcessor.