接口重命名。

feature/net-util
ZhouXY108 2023-05-31 20:01:17 +08:00
parent c87cb88439
commit 41c079305e
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ public class SimpleJdbcTemplate {
} }
} }
public void tx(final Tx tx) throws Exception { public void tx(final IAtom tx) throws Exception {
Assert.notNull(tx, "Tx can not be null."); Assert.notNull(tx, "Tx can not be null.");
try { try {
this.conn.setAutoCommit(false); this.conn.setAutoCommit(false);
@ -182,7 +182,7 @@ public class SimpleJdbcTemplate {
} }
@FunctionalInterface @FunctionalInterface
public static interface Tx { public static interface IAtom {
@SuppressWarnings("all") @SuppressWarnings("all")
void execute() throws Exception; void execute() throws Exception;
} }