JDK-6264242 : (coll spec) foo(E o) -> foo(E e)
  • Type: Bug
  • Status: Resolved
  • Resolution: Fixed
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Priority: P3
  • Affected Version: 6
  • OS: generic
  • CPU: generic
  • Submit Date: 2005-05-02
  • Updated Date: 2012-10-08
  • Resolved Date: 2005-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6
6 b51Resolved
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