From f87a2f4cd5576d535d17ab4bb527e18314ffa9b8 Mon Sep 17 00:00:00 2001 From: qi_liang Date: Wed, 31 Jul 2019 23:26:29 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E6=96=87?= =?UTF-8?q?=E4=BB=B6=202.=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/panda/beans/Beanfactory.java | 31 ------------------- .../java/org/panda/jdbc/sql/BeanSqlUtil.java | 2 +- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 panda-beans/src/main/java/org/panda/beans/Beanfactory.java diff --git a/panda-beans/src/main/java/org/panda/beans/Beanfactory.java b/panda-beans/src/main/java/org/panda/beans/Beanfactory.java deleted file mode 100644 index 3917816..0000000 --- a/panda-beans/src/main/java/org/panda/beans/Beanfactory.java +++ /dev/null @@ -1,31 +0,0 @@ -package org.panda.beans; - -/** - * 对象工厂 - */ -public interface Beanfactory { - - /** - * 根据对象名称,获取实例 - * @param name - * @return - */ - Object getBean(String name); - - /** - * 根据对象class,获取对象实例 - * @param clazz - * @param - * @return - */ - T getBean(Class clazz); - - /** - * 判断容器中是否存在对象 - * @param name - * @return 存在:true 不存在:false - */ - boolean containsBean(String name); - - -} diff --git a/panda-jdbc/src/main/java/org/panda/jdbc/sql/BeanSqlUtil.java b/panda-jdbc/src/main/java/org/panda/jdbc/sql/BeanSqlUtil.java index c75c293..56cd810 100644 --- a/panda-jdbc/src/main/java/org/panda/jdbc/sql/BeanSqlUtil.java +++ b/panda-jdbc/src/main/java/org/panda/jdbc/sql/BeanSqlUtil.java @@ -40,7 +40,7 @@ public class BeanSqlUtil { } /** - * 驼峰装大小写 + * 驼峰转大小写 * @param str * @return */