From 4d8782025b4398801e3b745aaba780f02fad7b0c Mon Sep 17 00:00:00 2001 From: Sumit Aich Date: Thu, 5 Dec 2024 18:09:04 +0530 Subject: [PATCH] fix: remove unused imports --- .../gotocompany/firehose/sink/blob/BlobSinkFactoryTest.java | 1 - .../firehose/sink/common/oss/ObjectStorageServiceTest.java | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/test/java/com/gotocompany/firehose/sink/blob/BlobSinkFactoryTest.java b/src/test/java/com/gotocompany/firehose/sink/blob/BlobSinkFactoryTest.java index 25f1a863..4fd5f558 100644 --- a/src/test/java/com/gotocompany/firehose/sink/blob/BlobSinkFactoryTest.java +++ b/src/test/java/com/gotocompany/firehose/sink/blob/BlobSinkFactoryTest.java @@ -4,7 +4,6 @@ import com.gotocompany.firehose.config.BlobSinkConfig; import com.gotocompany.firehose.consumer.kafka.OffsetManager; import com.gotocompany.firehose.sink.Sink; -import com.gotocompany.firehose.sink.blob.writer.WriterOrchestrator; import com.gotocompany.firehose.sink.common.blobstorage.BlobStorage; import com.gotocompany.firehose.sink.common.blobstorage.BlobStorageType; import com.gotocompany.firehose.sink.common.blobstorage.gcs.GoogleCloudStorage; diff --git a/src/test/java/com/gotocompany/firehose/sink/common/oss/ObjectStorageServiceTest.java b/src/test/java/com/gotocompany/firehose/sink/common/oss/ObjectStorageServiceTest.java index 7844491a..b60cc021 100644 --- a/src/test/java/com/gotocompany/firehose/sink/common/oss/ObjectStorageServiceTest.java +++ b/src/test/java/com/gotocompany/firehose/sink/common/oss/ObjectStorageServiceTest.java @@ -1,8 +1,6 @@ package com.gotocompany.firehose.sink.common.oss; import com.aliyun.oss.OSS; -import com.aliyun.oss.OSSClientBuilder; -import com.aliyun.oss.OSSException; import com.aliyun.oss.model.ObjectMetadata; import com.gotocompany.firehose.config.OSSConfig; import com.gotocompany.firehose.sink.common.blobstorage.BlobStorageException; @@ -13,14 +11,11 @@ import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.rules.TemporaryFolder; -import org.mockito.Mock; -import org.mockito.MockitoAnnotations; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.nio.file.Files; -import java.nio.file.Paths; import java.util.HashMap; import static org.mockito.ArgumentMatchers.any;