HeartSaVioR commented on code in PR #39647: URL: https://github.com/apache/spark/pull/39647#discussion_r1080794331
########## streaming/src/test/java/org/apache/spark/streaming/LocalJavaStreamingContext.java: ########## @@ -22,6 +22,8 @@ import org.junit.After; import org.junit.Before; +@SuppressWarnings( "deprecation" ) Review Comment: Looks like doing this in Scala side is sensitive to Scala version. For Scala 2.12, it depends on the bugfix version. https://www.scala-lang.org/2021/01/12/configuring-and-suppressing-warnings.html Let's revert this and leave tests to produce deprecation warning messages, until we figure out the way to address both Scala and Java. -- 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]
