diff --git a/src/main/java/com/alibaba/spring/util/BeanFactoryUtils.java b/src/main/java/com/alibaba/spring/util/BeanFactoryUtils.java index f1ce663..1d33c1e 100644 --- a/src/main/java/com/alibaba/spring/util/BeanFactoryUtils.java +++ b/src/main/java/com/alibaba/spring/util/BeanFactoryUtils.java @@ -67,7 +67,7 @@ public static T getOptionalBean(ListableBeanFactory beanFactory, String bean * @param beanNames the names of Bean * @param beanType the {@link Class type} of Bean * @param the {@link Class type} of Bean - * @return + * @return the read-only and non-null {@link List} of Bean names */ public static List getBeans(ListableBeanFactory beanFactory, String[] beanNames, Class beanType) { @@ -82,6 +82,5 @@ public static List getBeans(ListableBeanFactory beanFactory, String[] bea } return Collections.unmodifiableList(beans); - } }