Remove optionality from streaming useCompressedOops field
This commit is contained in:
parent
028b206a11
commit
bf7a89e304
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue