Skip to content

Commit 02d3cfa

Browse files
stsypanovjhoeller
authored andcommitted
Use ArrayList instead of LinkedList
1 parent 12f1682 commit 02d3cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/main/java/org/springframework/util/ReflectionUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ private static List<Method> findConcreteMethodsOnInterfaces(Class<?> clazz) {
697697
for (Method ifcMethod : ifc.getMethods()) {
698698
if (!Modifier.isAbstract(ifcMethod.getModifiers())) {
699699
if (result == null) {
700-
result = new LinkedList<>();
700+
result = new ArrayList<>();
701701
}
702702
result.add(ifcMethod);
703703
}

0 commit comments

Comments
 (0)