接口重命名。

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.");
try {
this.conn.setAutoCommit(false);
@ -182,7 +182,7 @@ public class SimpleJdbcTemplate {
}
@FunctionalInterface
public static interface Tx {
public static interface IAtom {
@SuppressWarnings("all")
void execute() throws Exception;
}