Remove copypasta.

This commit is contained in:
akwizgran
2021-02-26 11:27:50 +00:00
committed by Torsten Grote
parent b1a80691db
commit d10e5f025d

View File

@@ -3427,7 +3427,6 @@ abstract class JdbcDatabase implements Database<Connection> {
public void stopCleanupTimer(Connection txn, MessageId m)
throws DbException {
PreparedStatement ps = null;
ResultSet rs = null;
try {
String sql = "UPDATE messages SET cleanupDeadline = NULL"
+ " WHERE messageId = ?";
@@ -3437,7 +3436,6 @@ abstract class JdbcDatabase implements Database<Connection> {
if (affected < 0 || affected > 1) throw new DbStateException();
ps.close();
} catch (SQLException e) {
tryToClose(rs, LOG, WARNING);
tryToClose(ps, LOG, WARNING);
throw new DbException(e);
}