Bug 472503 - [1.7][quick fix] "Add type arguments" should not add redundant type arguments
Summary: [1.7][quick fix] "Add type arguments" should not add redundant type arguments
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2015-07-13 08:19 EDT by Markus Keller CLA
Modified: 2020-03-02 11:47 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.