From 23c29394ce8fddebdb62523c3c7de44ed893bc8b Mon Sep 17 00:00:00 2001 From: Kashif Faraz Date: Mon, 4 Dec 2023 23:10:19 +0530 Subject: [PATCH] Remove unused variable --- .../org/apache/druid/server/audit/SQLAuditManagerTest.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/src/test/java/org/apache/druid/server/audit/SQLAuditManagerTest.java b/server/src/test/java/org/apache/druid/server/audit/SQLAuditManagerTest.java index 4959538dcadb..211f15f5d2f7 100644 --- a/server/src/test/java/org/apache/druid/server/audit/SQLAuditManagerTest.java +++ b/server/src/test/java/org/apache/druid/server/audit/SQLAuditManagerTest.java @@ -23,7 +23,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import org.apache.druid.audit.AuditEvent; import org.apache.druid.audit.AuditInfo; -import org.apache.druid.common.config.ConfigSerde; import org.apache.druid.jackson.DefaultObjectMapper; import org.apache.druid.java.util.common.DateTimes; import org.apache.druid.java.util.common.Intervals; @@ -38,7 +37,6 @@ import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; -import org.mockito.Mockito; import org.mockito.junit.MockitoJUnitRunner; import java.io.IOException; @@ -290,7 +288,6 @@ public long getMaxPayloadSizeBytes() @Test(timeout = 60_000L) public void testCreateAuditEntryWithSkipNullsInPayload() throws IOException { - final ConfigSerde> mockConfigSerde = Mockito.mock(ConfigSerde.class); final SQLAuditManager auditManagerSkipNull = createAuditManager( new SQLAuditManagerConfig() {