Suppress warnings in tests

This commit is contained in:
Sam Brannen
2023-07-15 13:02:16 +02:00
parent e6d360c1c6
commit 70cf754a2f
3 changed files with 17 additions and 5 deletions

View File

@@ -137,6 +137,7 @@ class SQLErrorCodeSQLExceptionTranslatorTests {
SQLException integrityViolationEx = new SQLException("", "", 6);
translator = new SQLErrorCodeSQLExceptionTranslator() {
@SuppressWarnings("deprecation")
@Override
@Nullable
protected DataAccessException customTranslate(String task, @Nullable String sql, SQLException sqlException) {