Bug 472503

Summary: [1.7][quick fix] "Add type arguments" should not add redundant type arguments
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, markus.kell.r, noopur_gupta
Version: 4.5Keywords: bugday, helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=506243
Whiteboard: stalebug

Description Markus Keller CLA 2015-07-13 08:19:43 EDT
Hashtable<String, String> newOptions= new Hashtable();

The Quick Fix on "new Hashtable()" should result in "new Hashtable<>()", not in "new Hashtable<String, String>()".

If possible, fix the problem in the Infer Type Arguments refactoring / inference engine. See also bug 434788.
Comment 1 Eclipse Genie CLA 2020-03-02 11:47:08 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.