diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2021-10-07 12:09:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 12:09:50 +0200 |
commit | 4b837462afa5ae9adbebc10c226637ae04e05007 (patch) | |
tree | 70ff872463f0048c9d50abfed04fe03fba10d296 /container-core/src/test | |
parent | 3b8c5f1e967c6354cae762a95cc1489ef91f1e55 (diff) | |
parent | 47b73921208a52d8f356be4ff87ed0f679791827 (diff) |
Merge pull request #19452 from vespa-engine/bjorncs/jetty-async-listener
Refactor async completion logic for read and write path [run-systemtest]
Diffstat (limited to 'container-core/src/test')
-rw-r--r-- | container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/ErrorResponseContentCreatorTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/ErrorResponseContentCreatorTest.java b/container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/ErrorResponseContentCreatorTest.java index 5b53f5c6c86..796adebb5e8 100644 --- a/container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/ErrorResponseContentCreatorTest.java +++ b/container-core/src/test/java/com/yahoo/jdisc/http/server/jetty/ErrorResponseContentCreatorTest.java @@ -6,7 +6,6 @@ import org.junit.Test; import javax.servlet.http.HttpServletResponse; import java.nio.charset.StandardCharsets; -import java.util.Optional; import static org.junit.Assert.assertEquals; @@ -36,7 +35,7 @@ public class ErrorResponseContentCreatorTest { byte[] rawContent = c.createErrorContent( "http://foo.bar", HttpServletResponse.SC_OK, - Optional.of("My custom error message")); + "My custom error message"); String actualHtml = new String(rawContent, StandardCharsets.ISO_8859_1); assertEquals(expectedHtml, actualHtml); } |