Browse Source

Add a missing call to parent constructors.

Follow-up to #44591.
Julie Tibshirani 6 years ago
parent
commit
1ee3723ed3

+ 8 - 2
server/src/test/java/org/elasticsearch/action/support/single/instance/TransportInstanceSingleOperationActionTests.java

@@ -79,12 +79,18 @@ public class TransportInstanceSingleOperationActionTests extends ESTestCase {
 
     public static class Request extends InstanceShardOperationRequest<Request> {
         public Request() {}
-        public Request(StreamInput in) {}
+
+        public Request(StreamInput in) throws IOException {
+            super(in);
+        }
     }
 
     public static class Response extends ActionResponse {
         public Response() {}
-        public Response(StreamInput in) {}
+
+        public Response(StreamInput in) throws IOException {
+            super(in);
+        }
 
         @Override
         public void writeTo(StreamOutput out) throws IOException {}