Misleading parameter names and JavaDoc in ResolvableType [SPR-14976] #19542
Comments
Juergen Hoeller commented I've revised the terminology there a bit, using plain |
Oliver Drotbohm commented Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: