LuciferYang opened a new pull request, #43733:
URL: https://github.com/apache/spark/pull/43733

   ### What changes were proposed in this pull request?
   This pr fix a compile warning like
   
   ```
   [warn] 
/Users/yangjie01/SourceCode/git/spark-mine-sbt/connector/connect/server/src/test/scala/org/apache/spark/sql/connect/plugin/SparkConnectPluginRegistrySuite.scala:95:9:
 adaptation of an empty argument list by inserting () is deprecated: this is 
unlikely to be what you want
   [warn]         signature: Some.apply[A](value: A): Some[A]
   [warn]   given arguments: <none>
   [warn]  after adaptation: Some((): Unit)
   [warn] Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part 
of the message>, cat=deprecation, 
site=org.apache.spark.sql.connect.plugin.ExampleCommandPlugin.process, 
origin=scala.Some.apply, version=2.11.0
   [warn]     Some()
   [warn]         ^
   ```
   
   ### Why are the changes needed?
   Clean up a deprecated usage since Scala 2.11.0
   
   ### Does this PR introduce _any_ user-facing change?
   No, just for test
   
   
   ### How was this patch tested?
   Pass GitHub Action
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


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

Reply via email to