Skip to content

Commit

Permalink
MINOR: [Java] Update mockito version to 5.14.2 (#44566)
Browse files Browse the repository at this point in the history
### What changes are included in this PR?

Update Mockito version to latest/current version (5.14.2).

Also remove mockito-inline dependency as the code is now part of mockito-core.

Fixes Java 23 compatibility

### Are these changes tested?

CI/CD (no new tests)

### Are there any user-facing changes?

No

Authored-by: Laurent Goujon <[email protected]>
Signed-off-by: David Li <[email protected]>
  • Loading branch information
laurentgo authored Oct 30, 2024
1 parent 2f9ba79 commit 2df7b23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
7 changes: 0 additions & 7 deletions java/flight/flight-sql-jdbc-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ under the License.
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-inline</artifactId>
<version>${mockito.inline.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ under the License.
<checkstyle.version>10.18.2</checkstyle.version>
<checkstyle.failOnViolation>true</checkstyle.failOnViolation>
<error_prone_core.version>2.31.0</error_prone_core.version>
<mockito.core.version>5.11.0</mockito.core.version>
<mockito.inline.version>5.2.0</mockito.inline.version>
<mockito.core.version>5.14.2</mockito.core.version>
<checker.framework.version>3.48.1</checker.framework.version>
<logback.version>1.5.11</logback.version>
<doclint>none</doclint>
Expand Down

0 comments on commit 2df7b23

Please sign in to comment.