From e899f578242ef714979630e1e3bc1e18a1974cf2 Mon Sep 17 00:00:00 2001 From: Scott Leberknight <174812+sleberknight@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:47:14 -0500 Subject: [PATCH] Remove unused Slf4j from test; remove unused imports (#322) * Remove unused Slf4j annotation from AbstractJdbcApplicationErrorDaoTest * Remove unused imports from AbstractJdbcApplicationErrorDaoTest and ApplicationErrorJdbc --- .../kiwiproject/dropwizard/error/dao/ApplicationErrorJdbc.java | 1 - .../error/dao/jdk/AbstractJdbcApplicationErrorDaoTest.java | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/main/java/org/kiwiproject/dropwizard/error/dao/ApplicationErrorJdbc.java b/src/main/java/org/kiwiproject/dropwizard/error/dao/ApplicationErrorJdbc.java index f3aaf8a..a49a025 100644 --- a/src/main/java/org/kiwiproject/dropwizard/error/dao/ApplicationErrorJdbc.java +++ b/src/main/java/org/kiwiproject/dropwizard/error/dao/ApplicationErrorJdbc.java @@ -22,7 +22,6 @@ import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.RandomStringUtils; import org.checkerframework.checker.nullness.qual.Nullable; -import org.h2.jdbcx.JdbcDataSource; import org.kiwiproject.dropwizard.error.model.ApplicationError; import org.kiwiproject.dropwizard.error.model.DataStoreType; diff --git a/src/test/java/org/kiwiproject/dropwizard/error/dao/jdk/AbstractJdbcApplicationErrorDaoTest.java b/src/test/java/org/kiwiproject/dropwizard/error/dao/jdk/AbstractJdbcApplicationErrorDaoTest.java index e564cec..ffc95bf 100644 --- a/src/test/java/org/kiwiproject/dropwizard/error/dao/jdk/AbstractJdbcApplicationErrorDaoTest.java +++ b/src/test/java/org/kiwiproject/dropwizard/error/dao/jdk/AbstractJdbcApplicationErrorDaoTest.java @@ -4,7 +4,6 @@ import static org.kiwiproject.dropwizard.error.dao.ApplicationErrorJdbc.nextOrThrow; import static org.kiwiproject.jdbc.KiwiJdbc.timestampFromZonedDateTime; -import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.extension.ExtendWith; @@ -30,7 +29,6 @@ */ @SuppressWarnings({ "SqlDialectInspection", "SqlNoDataSourceInspection" }) @ExtendWith(ApplicationErrorExtension.class) -@Slf4j public abstract class AbstractJdbcApplicationErrorDaoTest extends AbstractApplicationErrorDaoTest { protected abstract SimpleSingleConnectionDataSource getDataSource();