diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2023-02-08 14:08:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 14:08:43 +0100 |
commit | 8ceff780883d070e7916ee6eb2a241f437faa339 (patch) | |
tree | b1516fd53461ada7a059209ab7d7ffd7cf9c6b16 /container-core | |
parent | cdd1430c6eb50ef5fbe4e65881dbee936fb0a075 (diff) | |
parent | 6f5f4183b0ed20d54d4bb708813603228c1a180b (diff) |
Merge pull request #25923 from vespa-engine/mpolden/cleanup
Misc cleanup
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/abi-spec.json | 1 | ||||
-rw-r--r-- | container-core/src/main/java/com/yahoo/container/jdisc/EmptyResponse.java | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/container-core/abi-spec.json b/container-core/abi-spec.json index 5f86db1d385..3d5b9e8d59e 100644 --- a/container-core/abi-spec.json +++ b/container-core/abi-spec.json @@ -538,6 +538,7 @@ ], "methods" : [ "public void <init>(int)", + "public void <init>()", "public void render(java.io.OutputStream)" ], "fields" : [ ] diff --git a/container-core/src/main/java/com/yahoo/container/jdisc/EmptyResponse.java b/container-core/src/main/java/com/yahoo/container/jdisc/EmptyResponse.java index 4477b7319b8..4d207d7afaf 100644 --- a/container-core/src/main/java/com/yahoo/container/jdisc/EmptyResponse.java +++ b/container-core/src/main/java/com/yahoo/container/jdisc/EmptyResponse.java @@ -15,6 +15,11 @@ public class EmptyResponse extends HttpResponse { super(status); } + public EmptyResponse() { + this(200); + } + + @Override public void render(OutputStream outputStream) throws IOException { // NOP } |