dongjoon-hyun opened a new pull request, #39589: URL: https://github.com/apache/spark/pull/39589
### What changes were proposed in this pull request? This PR aims to suppress the two test code compilation warnings in `network-common` module. ``` [warn] /Users/dongjoon/APACHE/spark-merge/common/network-common/src/test/java/org/apache/spark/network/server/OneForOneStreamManagerSuite.java:105:1: [unchecked] unchecked conversion [warn] Iterator<ManagedBuffer> buffers = Mockito.mock(Iterator.class); [warn] ^ required: Iterator<ManagedBuffer> [warn] found: Iterator [warn] /Users/dongjoon/APACHE/spark-merge/common/network-common/src/test/java/org/apache/spark/network/server/OneForOneStreamManagerSuite.java:111:1: [unchecked] unchecked conversion [warn] Iterator<ManagedBuffer> buffers2 = Mockito.mock(Iterator.class); [warn] ^ required: Iterator<ManagedBuffer> [warn] found: Iterator ``` ### Why are the changes needed? To suppress warnings in `common` directory. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manually check the output with the following. ``` $ build/sbt "network-common/test" ``` -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
