提交 02d3cfa4 编写于 作者: S stsypanov 提交者: Juergen Hoeller

Use ArrayList instead of LinkedList

上级 12f16829
......@@ -697,7 +697,7 @@ public abstract class ReflectionUtils {
for (Method ifcMethod : ifc.getMethods()) {
if (!Modifier.isAbstract(ifcMethod.getModifiers())) {
if (result == null) {
result = new LinkedList<>();
result = new ArrayList<>();
}
result.add(ifcMethod);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册