Remove unnecessary transport level bwc
This commit is contained in:
parent
dbbfadeefa
commit
a206c7a149
|
@ -202,16 +202,6 @@ public class NodeInfo extends BaseNodeResponse {
|
||||||
} else {
|
} else {
|
||||||
totalIndexingBuffer = null;
|
totalIndexingBuffer = null;
|
||||||
}
|
}
|
||||||
if (version.onOrBefore(Version.V_5_0_0_alpha4)) {
|
|
||||||
// service attributes were removed
|
|
||||||
if (in.readBoolean()) {
|
|
||||||
int size = in.readVInt();
|
|
||||||
for (int i = 0; i < size; i++) {
|
|
||||||
in.readString(); // key
|
|
||||||
in.readString(); // value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (in.readBoolean()) {
|
if (in.readBoolean()) {
|
||||||
settings = Settings.readSettingsFromStream(in);
|
settings = Settings.readSettingsFromStream(in);
|
||||||
}
|
}
|
||||||
|
@ -253,9 +243,6 @@ public class NodeInfo extends BaseNodeResponse {
|
||||||
out.writeBoolean(true);
|
out.writeBoolean(true);
|
||||||
out.writeLong(totalIndexingBuffer.bytes());
|
out.writeLong(totalIndexingBuffer.bytes());
|
||||||
}
|
}
|
||||||
if (version.onOrBefore(Version.V_5_0_0_alpha4)) {
|
|
||||||
out.writeBoolean(false); // service attributes removed
|
|
||||||
}
|
|
||||||
if (settings == null) {
|
if (settings == null) {
|
||||||
out.writeBoolean(false);
|
out.writeBoolean(false);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue