Skip to content

Commit

Permalink
MINOR: [Java] Update mockito version to 5.14.2
Browse files Browse the repository at this point in the history
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
  • Loading branch information
laurentgo committed Oct 29, 2024
1 parent ea9b15f commit 7cc908e
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 7cc908e

Please sign in to comment.