mingyen066 commented on code in PR #16639:
URL: https://github.com/apache/kafka/pull/16639#discussion_r1685378583


##########
gradle/dependencies.gradle:
##########
@@ -71,7 +71,7 @@ else
 // Java versions.
 // We always use the `inline` strategy.
 String mockitoArtifactName
-if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11))
+if (mockitoVersion == "5.10.0")

Review Comment:
   yeah sure, I also rearranged the order to make sure if in the future, 
mockito 6 still use the same mocking strategy of version 5. we don't need to 
change these piece of code. 



-- 
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]

Reply via email to