From d8f360b9a521c9528ba6abe14e242dc03141e100 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 20 Jun 2023 18:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B1=BB=E5=90=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java b/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java index 6fce3b6..3a4eca6 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/jdbc/SimpleJdbcTemplate.java @@ -45,8 +45,8 @@ import xyz.zhouxy.plusone.commons.util.OptionalUtil; @Beta public class SimpleJdbcTemplate { - public static JdbcExecutorBak connect(final Connection conn) { - return new JdbcExecutorBak(conn); + public static JdbcExecutor connect(final Connection conn) { + return new JdbcExecutor(conn); } public static Object[] buildParams(final Object... params) { @@ -106,11 +106,11 @@ public class SimpleJdbcTemplate { throw new IllegalStateException("Utility class"); } - public static class JdbcExecutorBak { + public static class JdbcExecutor { private final Connection conn; - public JdbcExecutorBak(Connection conn) { + public JdbcExecutor(Connection conn) { this.conn = conn; }