Remove optionality from streaming useCompressedOops field

This commit is contained in:
Jason Tedor 2015-12-17 12:18:39 -05:00
parent 028b206a11
commit bf7a89e304
1 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ public class JvmInfo implements Streamable, ToXContent {
mem.readFrom(in); mem.readFrom(in);
gcCollectors = in.readStringArray(); gcCollectors = in.readStringArray();
memoryPools = in.readStringArray(); memoryPools = in.readStringArray();
useCompressedOops = in.readOptionalString(); useCompressedOops = in.readString();
} }
@Override @Override
@ -400,7 +400,7 @@ public class JvmInfo implements Streamable, ToXContent {
mem.writeTo(out); mem.writeTo(out);
out.writeStringArray(gcCollectors); out.writeStringArray(gcCollectors);
out.writeStringArray(memoryPools); out.writeStringArray(memoryPools);
out.writeOptionalString(useCompressedOops); out.writeString(useCompressedOops);
} }
public static class Mem implements Streamable { public static class Mem implements Streamable {