Polishing

This commit is contained in:
Juergen Hoeller
2016-09-13 21:58:41 +02:00
parent c69e6a36f7
commit ce42ed4d44
5 changed files with 14 additions and 16 deletions

View File

@@ -195,7 +195,7 @@ public class ReflectionHelper {
TypeDescriptor varargsDesc = expectedArgTypes.get(expectedArgTypes.size() - 1);
Class<?> varargsParamType = varargsDesc.getElementTypeDescriptor().getType();
// All remaining parameters must be of this type or convertable to this type
// All remaining parameters must be of this type or convertible to this type
for (int i = expectedArgTypes.size() - 1; i < suppliedArgTypes.size(); i++) {
TypeDescriptor suppliedArg = suppliedArgTypes.get(i);
if (suppliedArg == null) {