1
mirror of https://github.com/CarmJos/EasySQL.git synced 2026-06-04 15:28:20 +08:00

移除不必要的异常构造。

This commit is contained in:
2022-04-09 03:26:53 +08:00
parent 0a6c8ae1a9
commit 3fbc58acf7
@@ -39,8 +39,6 @@ public interface QueryAction extends SQLAction<SQLQuery> {
try (SQLQuery value = execute()) { try (SQLQuery value = execute()) {
R result = function.apply(value); R result = function.apply(value);
return result == null ? defaultResult : result; return result == null ? defaultResult : result;
} catch (SQLException exception) {
throw new SQLException(exception);
} }
} }