diff --git a/neutrino-core/src/main/java/fun/asgc/neutrino/core/util/BeanManager.java b/neutrino-core/src/main/java/fun/asgc/neutrino/core/util/BeanManager.java index 75036eb7..c8e85165 100644 --- a/neutrino-core/src/main/java/fun/asgc/neutrino/core/util/BeanManager.java +++ b/neutrino-core/src/main/java/fun/asgc/neutrino/core/util/BeanManager.java @@ -48,14 +48,14 @@ public class BeanManager implements BeanFactoryAware { public static Object getBean(String name) { if (null == beanFactory) { - throw new RuntimeException("Beanfactory尚未初始化"); + throw new RuntimeException("BeanFactory尚未初始化"); } return beanFactory.getBean(name); } public static T getBean(Class clazz) { if (null == beanFactory) { - throw new RuntimeException("Beanfactory尚未初始化"); + throw new RuntimeException("BeanFactory尚未初始化"); } return beanFactory.getBean(clazz); } @@ -68,7 +68,7 @@ public class BeanManager implements BeanFactoryAware { */ public static List getBeanListBySuperClass(Class superClass) { if (null == beanFactory) { - throw new RuntimeException("Beanfactory尚未初始化"); + throw new RuntimeException("BeanFactory尚未初始化"); } return beanFactory.getBeanList(superClass); }