Skip to content

Commit

Permalink
Remove optionality from streaming useCompressedOops field
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontedor committed Dec 17, 2015
1 parent 028b206 commit bf7a89e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/elasticsearch/monitor/jvm/JvmInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public void readFrom(StreamInput in) throws IOException {
mem.readFrom(in);
gcCollectors = in.readStringArray();
memoryPools = in.readStringArray();
useCompressedOops = in.readOptionalString();
useCompressedOops = in.readString();
}

@Override
Expand All @@ -400,7 +400,7 @@ public void writeTo(StreamOutput out) throws IOException {
mem.writeTo(out);
out.writeStringArray(gcCollectors);
out.writeStringArray(memoryPools);
out.writeOptionalString(useCompressedOops);
out.writeString(useCompressedOops);
}

public static class Mem implements Streamable {
Expand Down

0 comments on commit bf7a89e

Please sign in to comment.