Skip to content

Commit f85ca1f

Browse files
authored
Update README.md
1 parent f70260d commit f85ca1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Declare a spring bean `S3PropertyPlaceholderConfigurer` using yours AWS credenci
3333
@Bean
3434
S3PropertyPlaceholderConfigurer s3PropertyPlaceholderConfigurer(AmazonS3 s3) {
3535
S3PropertyPlaceholderConfigurer s3PropertyPlaceholderConfigurer = new S3PropertyPlaceholderConfigurer(s3);
36-
s3PropertyPlaceholderConfigurer.setS3Locations(new String[]{"s3://my-bucket/my-folder/my-properties.properties"});
36+
s3PropertyPlaceholderConfigurer.setS3Locations("s3://my-bucket/my-folder/my-properties.properties");
3737

3838
return s3PropertyPlaceholderConfigurer;
3939
}

0 commit comments

Comments
 (0)