Skip to content

Commit 717c41b

Browse files
authored
Merge pull request #9 from reeyur/bugfix/timestamp-to-long
Update the type of timestamp from double to long in EventDetail
2 parents b816e8c + a84a8b2 commit 717c41b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/meituan/lyrebird/client/api/EventDetail.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class EventDetail {
1010
@JsonProperty("event_id")
1111
private String eventID;
1212
private String id;
13-
private double timestamp;
13+
private long timestamp;
1414

1515
public String getChannel() {
1616
return channel;
@@ -44,11 +44,11 @@ public void setId(String id) {
4444
this.id = id;
4545
}
4646

47-
public double getTimestamp() {
47+
public long getTimestamp() {
4848
return timestamp;
4949
}
5050

51-
public void setTimestamp(double timestamp) {
51+
public void setTimestamp(long timestamp) {
5252
this.timestamp = timestamp;
5353
}
5454
}

0 commit comments

Comments
 (0)