You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Max Gekk (Jira)" <ji...@apache.org> on 2023/10/27 10:00:00 UTC

[jira] [Resolved] (SPARK-45698) Clean up the deprecated API usage related to `Buffer`

     [ https://issues.apache.org/jira/browse/SPARK-45698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Gekk resolved SPARK-45698.
------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 43551
[https://github.com/apache/spark/pull/43551]

> Clean up the deprecated API usage related to `Buffer`
> -----------------------------------------------------
>
>                 Key: SPARK-45698
>                 URL: https://issues.apache.org/jira/browse/SPARK-45698
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, SQL
>    Affects Versions: 4.0.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> * method append in trait Buffer is deprecated (since 2.13.0)
>  * method prepend in trait Buffer is deprecated (since 2.13.0)
>  * method trimEnd in trait Buffer is deprecated (since 2.13.4)
>  * method trimStart in trait Buffer is deprecated (since 2.13.4)
> {code:java}
> [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/core/src/test/scala/org/apache/spark/deploy/IvyTestUtils.scala:319:18: method append in trait Buffer is deprecated (since 2.13.0): Use appendAll instead
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.deploy.IvyTestUtils.createLocalRepository, origin=scala.collection.mutable.Buffer.append, version=2.13.0
> [warn]         allFiles.append(rFiles: _*)
> [warn]                  ^ 
> [warn] /Users/yangjie01/SourceCode/git/spark-mine-sbt/core/src/main/scala/org/apache/spark/util/SizeEstimator.scala:183:13: method trimEnd in trait Buffer is deprecated (since 2.13.4): use dropRightInPlace instead
> [warn] Applicable -Wconf / @nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.util.SizeEstimator.SearchState.dequeue, origin=scala.collection.mutable.Buffer.trimEnd, version=2.13.4
> [warn]       stack.trimEnd(1)
> [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