@@ -95,10 +95,10 @@ public void registerMethodFilter(Class<?> type, MethodFilter filter) {
95
95
/**
96
96
* Locate a method on a type. There are three kinds of match that might occur:
97
97
* <ol>
98
- * <li>An exact match where the types of the arguments match the types of the constructor
99
- * <li>An in-exact match where the types we are looking for are subtypes of those defined on the constructor
100
- * <li>A match where we are able to convert the arguments into those expected by the constructor,
101
- * according to the registered type converter.
98
+ * <li>an exact match where the types of the arguments match the types of the constructor
99
+ * <li>an in-exact match where the types we are looking for are subtypes of those defined on the constructor
100
+ * <li>a match where we are able to convert the arguments into those expected by the constructor,
101
+ * according to the registered type converter
102
102
* </ol>
103
103
*/
104
104
public MethodExecutor resolve (EvaluationContext context , Object targetObject , String name ,
@@ -107,7 +107,7 @@ public MethodExecutor resolve(EvaluationContext context, Object targetObject, St
107
107
try {
108
108
TypeConverter typeConverter = context .getTypeConverter ();
109
109
Class <?> type = (targetObject instanceof Class ? (Class <?>) targetObject : targetObject .getClass ());
110
- List <Method > methods = new ArrayList <Method >(( getMethods (type , targetObject ) ));
110
+ List <Method > methods = new ArrayList <Method >(getMethods (type , targetObject ));
111
111
112
112
// If a filter is registered for this type, call it
113
113
MethodFilter filter = (this .filters != null ? this .filters .get (type ) : null );
0 commit comments