Skip to content

Commit a396a7c

Browse files
author
Anirav Kareddy
committed
fixed import issues
1 parent ff5e99c commit a396a7c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/software/amazon/encryption/s3/internal/InstructionFileConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ private InstructionFileConfig(final Builder builder) {
3434
_s3AsyncClient = builder._s3AsyncClient;
3535
_enableInstructionFilePut = builder._enableInstructionFilePut;
3636
}
37-
3837
public static Builder builder() {
3938
return new Builder();
4039
}

src/test/java/software/amazon/encryption/s3/S3EncryptionClientMultipartUploadTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ public void multipartPutObjectAsync() throws IOException {
6767
final InputStream inputStream = new BoundedInputStream(fileSizeLimit);
6868
final InputStream objectStreamForResult = new BoundedInputStream(fileSizeLimit);
6969

70+
71+
7072
S3AsyncClient v3Client = S3AsyncEncryptionClient.builder()
7173
.kmsKeyId(KMS_KEY_ID)
7274
.enableMultipartPutObject(true)
@@ -78,11 +80,12 @@ public void multipartPutObjectAsync() throws IOException {
7880
encryptionContext.put("user-metadata-key", "user-metadata-value-v3-to-v3");
7981

8082
ExecutorService singleThreadExecutor = Executors.newSingleThreadExecutor();
81-
83+
8284
CompletableFuture<PutObjectResponse> futurePut = v3Client.putObject(builder -> builder
8385
.bucket(BUCKET)
8486
.overrideConfiguration(withAdditionalConfiguration(encryptionContext))
8587
.key(objectKey), AsyncRequestBody.fromInputStream(inputStream, fileSizeLimit, singleThreadExecutor));
88+
8689
futurePut.join();
8790
singleThreadExecutor.shutdown();
8891

0 commit comments

Comments
 (0)