You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Carl Franklin Hall (Jira)" <ji...@apache.org> on 2022/12/06 02:54:00 UTC
[jira] [Resolved] (DBUTILS-148) Update deprecated Mockito.initMocks
[ https://issues.apache.org/jira/browse/DBUTILS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Franklin Hall resolved DBUTILS-148.
----------------------------------------
Fix Version/s: 2.0
Resolution: Fixed
Replaced with `@RunWith(MockitoJUnitRunner.class)` annotation on the class. Cleaned up the unused mockings.
> Update deprecated Mockito.initMocks
> -----------------------------------
>
> Key: DBUTILS-148
> URL: https://issues.apache.org/jira/browse/DBUTILS-148
> Project: Commons DbUtils
> Issue Type: Improvement
> Reporter: Carl Franklin Hall
> Assignee: Carl Franklin Hall
> Priority: Trivial
> Fix For: 2.0
>
>
> `Mockito.initMocks(...)` has been deprecated. Uses of this should be updated following the latest guidance.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)