JDK-6264242 : (coll spec) foo(E o) -> foo(E e)
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-05-02
  • Updated: 2012-10-08
  • Resolved: 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 Availability Release.

To download the current JDK release, click here.
JDK 6
6 b51Fixed
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
02-05-2005