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

Bug 338089

Summary: [quick fix] "Infer Generic Type Arguments..." shows up twice
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.