HeartSaVioR commented on code in PR #39647: URL: https://github.com/apache/spark/pull/39647#discussion_r1080792710
########## 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: Technically all DStream tests should have produced deprecation warning message, otherwise we don't do the job very well. That said, dealing with only one file is not that critical. We have to either suppress deprecation as many as possible, but if we can technically do a couple of tests, doing nothing is OK. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org