Skip to content

Commit 96f5f19

Browse files
committed
Modify Array Size
1 parent 2461bbd commit 96f5f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/plugin/Plugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private static Class<?>[] getAllInterfaces(Class<?> type, Map<Class<?>, Set<Meth
9696
}
9797
type = type.getSuperclass();
9898
}
99-
return interfaces.toArray(new Class<?>[interfaces.size()]);
99+
return interfaces.toArray(new Class<?>[0]);
100100
}
101101

102102
}

0 commit comments

Comments
 (0)