Remove unnecessary transport level bwc

This commit is contained in:
Ryan Ernst 2016-07-01 10:16:56 -07:00
parent dbbfadeefa
commit a206c7a149
1 changed files with 0 additions and 13 deletions

View File

@ -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 {