Skip to content

Commit

Permalink
Apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
przemekwitek committed Jun 27, 2019
1 parent 5a12e3d commit e8c0116
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public DatafeedTimingStats(String jobId) {

public DatafeedTimingStats(StreamInput in) throws IOException {
jobId = in.readString();
totalSearchTimeMs = in.readOptionalDouble();
totalSearchTimeMs = in.readDouble();
}

public DatafeedTimingStats(DatafeedTimingStats other) {
Expand All @@ -79,7 +79,7 @@ public void incrementTotalSearchTimeMs(double totalSearchTimeMs) {
@Override
public void writeTo(StreamOutput out) throws IOException {
out.writeString(jobId);
out.writeOptionalDouble(totalSearchTimeMs);
out.writeDouble(totalSearchTimeMs);
}

@Override
Expand Down

0 comments on commit e8c0116

Please sign in to comment.