Skip to content

Commit f70260d

Browse files
authored
Update README.md
1 parent 783900d commit f70260d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ repositories {
1414
}
1515
```
1616
```groovy
17-
compile "com.spring.loader:s3-loader:1.0.1"
17+
compile "com.spring.loader:s3-loader:1.0.2"
1818
```
1919
Maven:
2020
```xml
2121
<dependency>
2222
<groupId>com.spring.loader</groupId>
2323
<artifactId>s3-loader</artifactId>
24-
<version>1.0.1</version>
24+
<version>1.0.2</version>
2525
<type>pom</type>
2626
</dependency>
2727
```
@@ -32,8 +32,7 @@ Declare a spring bean `S3PropertyPlaceholderConfigurer` using yours AWS credenci
3232
```java
3333
@Bean
3434
S3PropertyPlaceholderConfigurer s3PropertyPlaceholderConfigurer(AmazonS3 s3) {
35-
S3ResourceLoader s3ResourceLoader = new S3ResourceLoader(s3);
36-
S3PropertyPlaceholderConfigurer s3PropertyPlaceholderConfigurer = new S3PropertyPlaceholderConfigurer(s3ResourceLoader);
35+
S3PropertyPlaceholderConfigurer s3PropertyPlaceholderConfigurer = new S3PropertyPlaceholderConfigurer(s3);
3736
s3PropertyPlaceholderConfigurer.setS3Locations(new String[]{"s3://my-bucket/my-folder/my-properties.properties"});
3837

3938
return s3PropertyPlaceholderConfigurer;

0 commit comments

Comments
 (0)