Skip to content

Commit 1d25fa1

Browse files
upgrade lib version
1 parent 89c111f commit 1d25fa1

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

core/src/main/java/io/cucumber/core/plugin/UrlOutputStream.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void close() throws IOException {
7070

7171
private Optional<String> sendRequest(URL url, HttpMethod method, boolean setHeaders) throws IOException {
7272
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
73-
if(setHeaders) {
73+
if (setHeaders) {
7474
for (Entry<String, String> header : option.getHeaders()) {
7575
urlConnection.setRequestProperty(header.getKey(), header.getValue());
7676
}
@@ -98,10 +98,10 @@ private Optional<String> sendRequest(URL url, HttpMethod method, boolean setHead
9898
/**
9999
* return the request body
100100
*
101-
* @param urlConnection the http connection
102-
* @param requestHeaders the headers sent
103-
* @return the response body
104-
* @throws IOException if an exception occurs
101+
* @param urlConnection the http connection
102+
* @param requestHeaders the headers sent
103+
* @return the response body
104+
* @throws IOException if an exception occurs
105105
*/
106106
private static String getResponseBody(
107107
HttpURLConnection urlConnection, Map<String, List<String>> requestHeaders

core/src/test/java/io/cucumber/core/plugin/UrlOutputStreamTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ void it_sends_the_body_once_for_202_and_location_with_get_without_token(Vertx ve
9292
throws Exception {
9393
String requestBody = "hello";
9494
TestServer testServer = new TestServer(port, testContext, requestBody, HttpMethod.PUT, null, null, 200, "");
95-
CurlOption url = CurlOption.parse(format("http://localhost:%d/accept -X GET -H 'Authorization: Bearer s3cr3t'", port));
95+
CurlOption url = CurlOption
96+
.parse(format("http://localhost:%d/accept -X GET -H 'Authorization: Bearer s3cr3t'", port));
9697
verifyRequest(url, testServer, vertx, testContext, requestBody);
9798

9899
assertThat(testContext.awaitCompletion(TIMEOUT_SECONDS, TimeUnit.SECONDS), is(true));

examples/java-calculator-junit5/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<properties>
1515
<project.Automatic-Module-Name>io.cucumber.examples.junit5</project.Automatic-Module-Name>
16-
<jackson-databind.version>2.11.2</jackson-databind.version>
16+
<jackson-databind.version>2.11.3</jackson-databind.version>
1717
</properties>
1818

1919
<dependencies>

examples/java-calculator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<properties>
1515
<project.Automatic-Module-Name>io.cucumber.examples.java</project.Automatic-Module-Name>
16-
<jackson-databind.version>2.11.2</jackson-databind.version>
16+
<jackson-databind.version>2.11.3</jackson-databind.version>
1717
</properties>
1818

1919
<dependencies>

examples/java-wicket/java-wicket-main/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<properties>
1313
<project.Automatic-Module-Name>io.cucumber.examples.wicket.main</project.Automatic-Module-Name>
1414
<wicket.version>9.0.0</wicket.version>
15-
<jetty.version>9.4.31.v20200723</jetty.version>
15+
<jetty.version>9.4.32.v20200930</jetty.version>
1616
<jcl-over-slf4.version>1.7.30</jcl-over-slf4.version>
1717
<logback-classic.version>1.2.3</logback-classic.version>
1818
</properties>

examples/java-wicket/java-wicket-test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<properties>
1212
<project.Automatic-Module-Name>io.cucumber.examples.wicket.test</project.Automatic-Module-Name>
13-
<htmlunit.version>2.43.1</htmlunit.version>
13+
<htmlunit.version>2.44.0</htmlunit.version>
1414
</properties>
1515

1616
<build>

0 commit comments

Comments
 (0)