You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2017/11/09 18:50:00 UTC

[jira] [Created] (SPARK-22485) Use `exclude[Problem]` instead `excludePackage`

Dongjoon Hyun created SPARK-22485:
-------------------------------------

             Summary: Use `exclude[Problem]` instead `excludePackage`
                 Key: SPARK-22485
                 URL: https://issues.apache.org/jira/browse/SPARK-22485
             Project: Spark
          Issue Type: Task
          Components: Build
    Affects Versions: 2.3.0
            Reporter: Dongjoon Hyun
            Priority: Minor


`excludePackage` is deprecated like the [following|https://github.com/lightbend/migration-manager/blob/master/core/src/main/scala/com/typesafe/tools/mima/core/Filters.scala#L33].
{code}
  @deprecated("Replace with ProblemFilters.exclude[Problem](\"my.package.*\")", "0.1.15")
  def excludePackage(packageName: String): ProblemFilter = {
    exclude[Problem](packageName + ".*")
  }
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org