|
|
@@ -41,7 +41,7 @@ public class UpdateTransformActionPre78 {
|
|
|
|
|
|
public Request(StreamInput in) throws IOException {
|
|
|
super(in);
|
|
|
- assert in.getVersion().before(Version.V_8_0_0);// todo: V_7_8_0
|
|
|
+ assert in.getVersion().before(Version.V_7_8_0);
|
|
|
this.update = new TransformConfigUpdate(in);
|
|
|
this.id = in.readString();
|
|
|
this.deferValidation = in.readBoolean();
|
|
|
@@ -65,7 +65,7 @@ public class UpdateTransformActionPre78 {
|
|
|
|
|
|
@Override
|
|
|
public void writeTo(StreamOutput out) throws IOException {
|
|
|
- assert out.getVersion().before(Version.V_8_0_0); // todo: V_7_8_0
|
|
|
+ assert out.getVersion().before(Version.V_7_8_0);
|
|
|
super.writeTo(out);
|
|
|
this.update.writeTo(out);
|
|
|
out.writeString(id);
|
|
|
@@ -104,7 +104,7 @@ public class UpdateTransformActionPre78 {
|
|
|
}
|
|
|
|
|
|
public Response(StreamInput in) throws IOException {
|
|
|
- assert in.getVersion().before(Version.V_8_0_0); // todo: V_7_8_0
|
|
|
+ assert in.getVersion().before(Version.V_7_8_0);
|
|
|
this.config = new TransformConfig(in);
|
|
|
}
|
|
|
|
|
|
@@ -114,7 +114,7 @@ public class UpdateTransformActionPre78 {
|
|
|
|
|
|
@Override
|
|
|
public void writeTo(StreamOutput out) throws IOException {
|
|
|
- assert out.getVersion().before(Version.V_8_0_0); // todo: V_7_8_0
|
|
|
+ assert out.getVersion().before(Version.V_7_8_0);
|
|
|
this.config.writeTo(out);
|
|
|
}
|
|
|
|