Bug 81415 - [5.0] Superfluos type safety warning on method return types of non-generic classes
Summary: [5.0] Superfluos type safety warning on method return types of non-generic cl...
Status: RESOLVED DUPLICATE of bug 79687
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 10:40 EST by Tobias Widmer CLA
Modified: 2005-01-11 11:01 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 Tobias Widmer CLA 2004-12-16 10:40:10 EST
200412160010:

Steps to reproduce:
- Create class "IntList implements List<Integer>"
- Implement all methods by quickfix
-> Generated methods with return type "Integer" have a superfluos (class is 
simple instantiation of generic type "List<E>") type conversion warning

A similar problem happens on "IntList implements List". Methods with return 
type "Iterator" are flagged as well.
Comment 1 Jerome Lanneluc CLA 2004-12-16 11:01:08 EST

*** This bug has been marked as a duplicate of 79687 ***