Skip to content

Commit

Permalink
Add MiMa excludes and fix a scalastyle error.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Oct 11, 2014
1 parent 346e46e commit ff28e49
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/FutureAction.scala
Original file line number Diff line number Diff line change
Expand Up @@ -325,4 +325,4 @@ class JavaFutureActionWrapper[S, T](futureAction: FutureAction[S], converter: S
}
}

}
}
13 changes: 13 additions & 0 deletions project/MimaExcludes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@ object MimaExcludes {
// MapStatus should be private[spark]
ProblemFilters.exclude[IncompatibleTemplateDefProblem](
"org.apache.spark.scheduler.MapStatus")
) ++
Seq(
// Adding new methods to the JavaRDDLike trait:
ProblemFilters.exclude[MissingMethodProblem](
"org.apache.spark.api.java.JavaRDDLike.takeAsync"),
ProblemFilters.exclude[MissingMethodProblem](
"org.apache.spark.api.java.JavaRDDLike.foreachPartitionAsync"),
ProblemFilters.exclude[MissingMethodProblem](
"org.apache.spark.api.java.JavaRDDLike.countAsync"),
ProblemFilters.exclude[MissingMethodProblem](
"org.apache.spark.api.java.JavaRDDLike.foreachAsync"),
ProblemFilters.exclude[MissingMethodProblem](
"org.apache.spark.api.java.JavaRDDLike.collectAsync")
)

case v if v.startsWith("1.1") =>
Expand Down

0 comments on commit ff28e49

Please sign in to comment.