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