Skip to content

Commit

Permalink
NMS-16978: Changed eventId to long
Browse files Browse the repository at this point in the history
  • Loading branch information
christianpape committed Dec 18, 2024
1 parent 8315d79 commit 486b348
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit 486b348

Please sign in to comment.