Upgrade to aws-java-sdk-s3 1.10.76

Also address deprecations.
pull/139/head
Andrew Gaul 2016-05-05 22:22:04 -07:00
rodzic 709dc55b9e
commit 2cfcc33bb8
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -284,7 +284,7 @@
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
<version>1.10.50</version>
<version>1.10.76</version>
<scope>test</scope>
<exclusions>
<exclusion>

Wyświetl plik

@ -174,7 +174,7 @@ public final class S3AwsSdkTest {
client = new AmazonS3Client(awsCreds);
client.setEndpoint(s3Endpoint.toString());
client.setS3ClientOptions(
new S3ClientOptions().disableChunkedEncoding());
S3ClientOptions.builder().disableChunkedEncoding().build());
ObjectMetadata metadata = new ObjectMetadata();
metadata.setContentLength(BYTE_SOURCE.size());