Misleading parameter names and JavaDoc in ResolvableType [SPR-14976] #19542
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: task
A general task
Milestone
Oliver Drotbohm opened SPR-14976 and commented
ResolvableType
exposes overloads forforClass(…)
. The one taking a singleClass
parameter sayssourceClass
and gives an implementation type as parameter in the JavaDoc. The one taking twoClass
parameters takes asourceClass
first, but in that case, it's not the type binding the generic parameters but the type exposing the parameters to bind (List
in the example above). So in the second case the parameter binding the types is calledimplementationClass
but is semantically equivalent to what has been calledsourceClass
in the one-parameter method.Affects: 4.2.8, 4.3.4
Backported to: 4.2.9
The text was updated successfully, but these errors were encountered: