diff options
author | Martin Polden <mpolden@mpolden.no> | 2023-02-07 14:22:47 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2023-02-07 14:22:47 +0100 |
commit | aecea8e8755fd6d367a6d7df57b341314a583864 (patch) | |
tree | a059c038f91d2d37425966ff05566bc7fc75f740 /container-core | |
parent | cc4f287050c918e06ce7d0a0e9c4b729c6b99fcd (diff) |
Remove duplicated class
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 } |