Use ArrayList instead of LinkedList
This commit is contained in:
parent
12f168290d
commit
02d3cfa42d
|
|
@ -697,7 +697,7 @@ public abstract class ReflectionUtils {
|
||||||
for (Method ifcMethod : ifc.getMethods()) {
|
for (Method ifcMethod : ifc.getMethods()) {
|
||||||
if (!Modifier.isAbstract(ifcMethod.getModifiers())) {
|
if (!Modifier.isAbstract(ifcMethod.getModifiers())) {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
result = new LinkedList<>();
|
result = new ArrayList<>();
|
||||||
}
|
}
|
||||||
result.add(ifcMethod);
|
result.add(ifcMethod);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue