LA-Toth commented on a change in pull request #190:
URL: https://github.com/apache/tez/pull/190#discussion_r830960896
##########
File path:
tez-dag/src/test/java/org/apache/tez/dag/app/dag/impl/TestVertexManager.java
##########
@@ -24,14 +24,8 @@
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
-import static org.mockito.Matchers.any;
-import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
-import static org.mockito.Mockito.doReturn;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.never;
-import static org.mockito.Mockito.times;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.when;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.Mockito.*;
Review comment:
These are the same. Basically the same code (function) is added to both
the ArgumentMatchers and the Mockito classes. So in theory there is no real
difference.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]