From 83a246910307fe4c4c25e9cc95ef9713665b5220 Mon Sep 17 00:00:00 2001 From: Robothy Date: Fri, 5 Jul 2024 17:54:04 +0800 Subject: [PATCH] remove unused imports --- .../java/com/robothy/s3/test/ObjectIntegrationTest.java | 9 --------- .../robothy/s3/test/TransferManagerIntegrationTest.java | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/local-s3-interationtest/src/test/java/com/robothy/s3/test/ObjectIntegrationTest.java b/local-s3-interationtest/src/test/java/com/robothy/s3/test/ObjectIntegrationTest.java index be33fe6..05cc881 100644 --- a/local-s3-interationtest/src/test/java/com/robothy/s3/test/ObjectIntegrationTest.java +++ b/local-s3-interationtest/src/test/java/com/robothy/s3/test/ObjectIntegrationTest.java @@ -9,16 +9,10 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; -import com.amazonaws.auth.AWSStaticCredentialsProvider; -import com.amazonaws.auth.BasicAWSCredentials; -import com.amazonaws.regions.Regions; import com.amazonaws.services.s3.AmazonS3; -import com.amazonaws.services.s3.AmazonS3Client; -import com.amazonaws.services.s3.AmazonS3ClientBuilder; import com.amazonaws.services.s3.model.*; import com.robothy.s3.jupiter.LocalS3; -import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Date; @@ -27,9 +21,6 @@ import org.apache.commons.codec.digest.DigestUtils; import org.junit.jupiter.api.Test; import org.junit.platform.commons.util.StringUtils; -import software.amazon.awssdk.core.sync.RequestBody; -import software.amazon.awssdk.services.s3.S3Client; -import software.amazon.awssdk.services.s3.model.GetObjectTaggingResponse; public class ObjectIntegrationTest { diff --git a/local-s3-interationtest/src/test/java/com/robothy/s3/test/TransferManagerIntegrationTest.java b/local-s3-interationtest/src/test/java/com/robothy/s3/test/TransferManagerIntegrationTest.java index 8a59d77..67d5703 100644 --- a/local-s3-interationtest/src/test/java/com/robothy/s3/test/TransferManagerIntegrationTest.java +++ b/local-s3-interationtest/src/test/java/com/robothy/s3/test/TransferManagerIntegrationTest.java @@ -11,7 +11,7 @@ import com.robothy.s3.jupiter.LocalS3; import java.nio.file.Files; import java.nio.file.Path; -import org.junit.jupiter.api.Assertions; + import org.junit.jupiter.api.Test; public class TransferManagerIntegrationTest {