Skip to content

Commit caba46c

Browse files
Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 (#351)
* Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 Bumps org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0. --- updated-dependencies: - dependency-name: org.apache.commons:commons-lang3 dependency-version: 3.18.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * bump okhttp@5.1.0, junit-jupiter@5.13.3 * ci: reverted workflow event handler settings * chore: removed checked exception from tearDown method --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: petruki <31597636+petruki@users.noreply.github.com>
1 parent 5453332 commit caba46c

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.github/workflows/master-2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Master CI v2
22

33
on:
44
push:
5-
branches: [master-2]
5+
branches: [ master-2 ]
66
pull_request:
7-
branches: [master-2]
7+
branches: [ master-2 ]
88

99
jobs:
1010
build-scan:

.github/workflows/master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Master CI v1
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [ master ]
66
pull_request:
7-
branches: [master]
7+
branches: [ master ]
88

99
jobs:
1010
build-scan:

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<project xmlns="http://maven.apache.org/POM/4.0.0"
4-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
<project xmlns="http://maven.apache.org/POM/4.0.0"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
66
<modelVersion>4.0.0</modelVersion>
77

88
<groupId>com.github.switcherapi</groupId>
@@ -59,15 +59,15 @@
5959
<gson.version>2.13.1</gson.version>
6060

6161
<!-- utils -->
62-
<commons-lang3.version>3.17.0</commons-lang3.version>
62+
<commons-lang3.version>3.18.0</commons-lang3.version>
6363
<commons-net.version>3.11.1</commons-net.version>
6464
<slf4j-api.version>2.0.17</slf4j-api.version>
6565

6666
<!-- test -->
67-
<okhttp.version>5.0.0-alpha.16</okhttp.version>
68-
<junit-jupiter.version>5.13.1</junit-jupiter.version>
67+
<okhttp.version>5.1.0</okhttp.version>
68+
<junit-jupiter.version>5.13.3</junit-jupiter.version>
6969
<junit-pioneer.version>1.9.1</junit-pioneer.version>
70-
<junit-platform-launcher.version>1.13.1</junit-platform-launcher.version>
70+
<junit-platform-launcher.version>1.13.3</junit-platform-launcher.version>
7171

7272
<!-- Plugins -->
7373
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
@@ -77,7 +77,7 @@
7777
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
7878
<sonar-maven-plugin.version>3.11.0.3922</sonar-maven-plugin.version>
7979
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
80-
<central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version>
80+
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
8181

8282
<!-- Sonar -->
8383
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>

src/test/java/com/github/switcherapi/fixture/MockWebServerHelper.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ protected static void setupMockServer() throws IOException {
2626
((QueueDispatcher) mockBackEnd.getDispatcher()).setFailFast(true);
2727
}
2828

29-
protected static void tearDownMockServer() throws IOException {
30-
mockBackEnd.shutdown();
29+
protected static void tearDownMockServer() {
30+
mockBackEnd.close();
3131
}
3232

3333
protected void givenResponse(MockResponse response) {
34-
((QueueDispatcher) mockBackEnd.getDispatcher()).enqueueResponse(response);
34+
((QueueDispatcher) mockBackEnd.getDispatcher()).enqueue(response);
3535
}
3636

3737
protected MockResponse generateTimeOut(int timeoutMs) {
@@ -103,7 +103,7 @@ protected MockResponse generateCheckSnapshotVersionResponse(String status) {
103103
*/
104104
protected MockResponse generateStatusResponse(String code) {
105105
MockResponse.Builder builder = new MockResponse.Builder();
106-
builder.setCode(Integer.parseInt(code));
106+
builder.code(Integer.parseInt(code));
107107
return builder.build();
108108
}
109109

0 commit comments

Comments
 (0)