diff --git a/Using-S3Proxy-in-Java-projects.md b/Using-S3Proxy-in-Java-projects.md index e1439b1..ddbda8b 100644 --- a/Using-S3Proxy-in-Java-projects.md +++ b/Using-S3Proxy-in-Java-projects.md @@ -87,9 +87,11 @@ public void example() { .standard() .withCredentials( new AWSStaticCredentialsProvider( - new BasicAWSCredentials(s3Proxy.getAccessKey(), s3Proxy.getSecretKey()))) + new BasicAWSCredentials(s3Proxy.getAccessKey(), + s3Proxy.getSecretKey()))) .withEndpointConfiguration( - new EndpointConfiguration(s3Proxy.getUri().toString(), Regions.US_EAST_1.getName())) + new EndpointConfiguration(s3Proxy.getUri().toString(), + Regions.US_EAST_1.getName())) .build(); s3Client.createBucket("test_bucket"); @@ -97,7 +99,8 @@ public void example() { myS3Uploader.uploadFile(s3Client, someFile); //verify the expected results of the above code - List summaries = s3Client.listObjects("test_bucket").getObjectSummaries(); + List summaries = s3Client.listObjects("test_bucket") + .getObjectSummaries(); assertThat(summaries).hasSize(1); assertThat(summaries.get(0).getSize()).isEqualTo(someFile.length()); }