Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix EventType comment. #35

Merged
merged 4 commits into from
Apr 3, 2015
Merged
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 @@ -33,7 +33,7 @@ public enum EventType {
*/
START_V3,
/**
* Represents query statement.
* Written when an updating statement is done.
*/
QUERY,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public EventHeaderV4 deserialize(ByteArrayInputStream inputStream) throws IOExce
header.setTimestamp(inputStream.readLong(4) * 1000L);
header.setEventType(getEventType(inputStream.readInteger(1)));
header.setServerId(inputStream.readLong(4));
header.setEventLength(inputStream.readInteger(4));
header.setEventLength(inputStream.readLong(4));
header.setNextPosition(inputStream.readLong(4));
header.setFlags(inputStream.readInteger(2));
return header;
Expand Down