diff --git a/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodResolver.java b/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodResolver.java
index 02d01ae5f1..cb6f5301df 100644
--- a/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodResolver.java
+++ b/spring-expression/src/main/java/org/springframework/expression/spel/support/ReflectiveMethodResolver.java
@@ -95,10 +95,10 @@ public class ReflectiveMethodResolver implements MethodResolver {
/**
* Locate a method on a type. There are three kinds of match that might occur:
*
- * - An exact match where the types of the arguments match the types of the constructor
- *
- An in-exact match where the types we are looking for are subtypes of those defined on the constructor
- *
- A match where we are able to convert the arguments into those expected by the constructor,
- * according to the registered type converter.
+ *
- an exact match where the types of the arguments match the types of the constructor
+ *
- an in-exact match where the types we are looking for are subtypes of those defined on the constructor
+ *
- a match where we are able to convert the arguments into those expected by the constructor,
+ * according to the registered type converter
*
*/
@Override
@@ -108,7 +108,7 @@ public class ReflectiveMethodResolver implements MethodResolver {
try {
TypeConverter typeConverter = context.getTypeConverter();
Class> type = (targetObject instanceof Class ? (Class>) targetObject : targetObject.getClass());
- List methods = new ArrayList((getMethods(type, targetObject)));
+ List methods = new ArrayList(getMethods(type, targetObject));
// If a filter is registered for this type, call it
MethodFilter filter = (this.filters != null ? this.filters.get(type) : null);