Skip to content
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

NMS-16978: Changed eventId to long #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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 @@ -44,7 +44,7 @@ public interface DatabaseEvent {

String getUei();

Integer getId();
Long getId();

List<EventParameter> getParameters();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*/
public final class ImmutableDatabaseEvent implements DatabaseEvent {
private final String uei;
private final Integer id;
private final Long id;
private final List<EventParameter> parameters;

private ImmutableDatabaseEvent(Builder builder) {
Expand All @@ -69,7 +69,7 @@ public static Builder newBuilderFrom(DatabaseEvent databaseEvent) {

public static final class Builder {
private String uei;
private Integer id;
private Long id;
private List<EventParameter> parameters;

private Builder() {
Expand All @@ -86,7 +86,7 @@ public Builder setUei(String uei) {
return this;
}

public Builder setId(Integer id) {
public Builder setId(Long id) {
this.id = id;
return this;
}
Expand Down Expand Up @@ -115,7 +115,7 @@ public String getUei() {
}

@Override
public Integer getId() {
public Long getId() {
return id;
}

Expand Down
Loading