Skip to content

Commit 5df09f8

Browse files
committed
Remove unused code
1 parent 950814f commit 5df09f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/test/java/cucumber/runtime/io/URLOutputStreamTest.java

-2
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,10 @@ public void throws_fnfe_if_http_response_is_404() throws IOException, ExecutionE
9494

9595
@Test
9696
public void throws_ioe_if_http_response_is_500() throws IOException, ExecutionException, InterruptedException {
97-
final BlockingQueue<String> data = new LinkedBlockingDeque<String>();
9897
Rest r = new Rest(webbit);
9998
r.PUT("/.cucumber/stepdefs.json", new HttpHandler() {
10099
@Override
101100
public void handleHttpRequest(HttpRequest req, HttpResponse res, HttpControl ctl) throws Exception {
102-
data.offer(req.body());
103101
res.status(500);
104102
res.content("something went wrong");
105103
res.end();

0 commit comments

Comments
 (0)