Skip to content

Conversation

@saama
Copy link
Owner

@saama saama commented Jan 13, 2020

codereview.java

codereview.java
public class Test {
private List<KeyVersion> processEventsInBucket(String bucketName) {
final AmazonS3 s3Client = EventHandler.getS3Client();
ObjectListing files = s3Client.listObjects(bucketName);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommendation generated by Amazon CodeGuru Reviewer

This code uses an outdated API. ListObjectsV2 is the revised List Objects API, and we recommend you use this revised API for new application developments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant