srowen commented on a change in pull request #24314:
[SPARK-27404][CORE][SQL][STREAMING][YARN] Fix build warnings for 3.0:
postfixOps edition
URL: https://github.com/apache/spark/pull/24314#discussion_r272847566
##########
File path: mllib/src/test/scala/org/apache/spark/ml/MLEventsSuite.scala
##########
@@ -245,18 +244,18 @@ class MLEventsSuite
val pipelineReader = Pipeline.read
assert(events.isEmpty)
pipelineReader.load(path)
- eventually(timeout(10 seconds), interval(1 second)) {
+ eventually(timeout(10.seconds), interval(1.second)) {
events.foreach {
- case e: LoadInstanceStart[PipelineStage]
+ case e: LoadInstanceStart[_]
Review comment:
Can't match generic types - causes a warning
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]