You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2021/02/05 09:00:12 UTC

[jira] [Created] (SPARK-34375) Replaces `Mockito.initMocks` with `Mockito.openMocks`

Yang Jie created SPARK-34375:
--------------------------------

             Summary: Replaces `Mockito.initMocks` with `Mockito.openMocks`
                 Key: SPARK-34375
                 URL: https://issues.apache.org/jira/browse/SPARK-34375
             Project: Spark
          Issue Type: Improvement
          Components: Kubernetes, Spark Core, Tests
    Affects Versions: 3.2.0
            Reporter: Yang Jie


Mockito.initMocks is a deprecated api, should use openMocks(Object) instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org