Reduce scope of @SuppressWarnings.

This commit is contained in:
akwizgran
2019-04-05 15:21:46 +01:00
parent d4f8abfac1
commit 74710664e3

View File

@@ -337,8 +337,8 @@ abstract class JdbcDatabase implements Database<Connection> {
this.clock = clock;
}
@SuppressWarnings("unused")
protected void open(String driverClass, boolean reopen, SecretKey key,
protected void open(String driverClass, boolean reopen,
@SuppressWarnings("unused") SecretKey key,
@Nullable MigrationListener listener) throws DbException {
// Load the JDBC driver
try {