Skip to content

Commit

Permalink
Merge pull request #9 from reeyur/bugfix/timestamp-to-long
Browse files Browse the repository at this point in the history
Update the type of timestamp from double to long in EventDetail
  • Loading branch information
yury-awesome authored Sep 24, 2019
2 parents b816e8c + a84a8b2 commit 717c41b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class EventDetail {
@JsonProperty("event_id")
private String eventID;
private String id;
private double timestamp;
private long timestamp;

public String getChannel() {
return channel;
Expand Down Expand Up @@ -44,11 +44,11 @@ public void setId(String id) {
this.id = id;
}

public double getTimestamp() {
public long getTimestamp() {
return timestamp;
}

public void setTimestamp(double timestamp) {
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
}

0 comments on commit 717c41b

Please sign in to comment.