Skip to content

Adding default constructor for S3Event for easier deserialization #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.amazonaws.services.s3.event.S3EventNotification;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
Expand All @@ -15,6 +16,14 @@ public class S3Event extends S3EventNotification implements Serializable, Clonea

private static final long serialVersionUID = -8094860465750962044L;

/**
* default constructor
* (Not available in v1)
*/
public S3Event() {
super(new ArrayList<S3EventNotificationRecord>());
}

/**
* Create a new instance of S3Event
* @param records A list of S3 event notification records
Expand Down