修改类名。

feature/net-util
ZhouXY108 2023-06-20 18:16:17 +08:00
parent 3537721a2e
commit d8f360b9a5
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}