United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6264242 (coll spec) foo(E o) -> foo(E e)
JDK-6264242 : (coll spec) foo(E o) -> foo(E e)

Details
Type:
Bug
Submit Date:
2005-05-02
Status:
Resolved
Updated Date:
2012-10-08
Project Name:
JDK
Resolved Date:
2005-09-04
Component:
core-libs
OS:
generic
Sub-Component:
java.util:collections
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports

Sub Tasks

Description
When collections were generified, many methods that
used to have the signature

foo(Object o)
now have the signature
foo(E o)

This is much clearer if the signature is

foo(E e)

###@###.### 2005-05-02 18:07:55 GMT

                                    

Comments
EVALUATION

A fine idea.

I checked the javadoc output, and javadoc reacts very well indeed
if the formal parameter name is renamed.  If an overriding method
inherits an @param, only the text of the @param will be inherited,
while the formal parameter name will be taken from the method signature.
###@###.### 2005-05-02 18:07:56 GMT
                                     
2005-05-02



Hardware and Software, Engineered to Work Together