You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2023/11/03 15:28:00 UTC
[jira] [Resolved] (SPARK-45693) Fix `method += in trait Growable is deprecated`
[ https://issues.apache.org/jira/browse/SPARK-45693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Jie resolved SPARK-45693.
------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 43578
[https://github.com/apache/spark/pull/43578]
> Fix `method += in trait Growable is deprecated`
> -----------------------------------------------
>
> Key: SPARK-45693
> URL: https://issues.apache.org/jira/browse/SPARK-45693
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core, SQL
> Affects Versions: 4.0.0
> Reporter: Yang Jie
> Assignee: BingKun Pan
> Priority: Major
> Fix For: 4.0.0
>
>
> {code:java}
> [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala:730:47: method += in trait Growable is deprecated (since 2.13.0): Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.deploy.SparkSubmit.prepareSubmitEnvironment.$anonfun, origin=scala.collection.mutable.Growable.+=, version=2.13.0
> [warn] if (opt.clOption != null) { childArgs += (opt.clOption, opt.value) }
> [warn] ^ {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org