<BUG>try(InputStream stream = new URL("http://localhost:8080/rest").openStream()) {</BUG><CONTEXT>tomcat.start();try(InputStream stream = new URL("http://localhost:8080/").openStream()) {String data = IOUtils.toString(stream).trim();assertThat(data).isEqualTo(MessageProvider.DATA);}<extra_id_0>String data = IOUtils.toString(stream).trim();assertThat(data).isEqualTo("Hello, world!");}</CONTEXT>
try(InputStream stream = new URL("https://localhost:8443/rest").openStream()) {