aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2014-08-15 08:53:52 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-08-15 08:53:52 -0700
commit7589c39d39a8d0744fb689e5752ee8e0108a81eb (patch)
tree76f6a814d9fe85f0fdf36fd44c675f26a228f3f9 /project
parentfba8ec39ccf455a4a03504445bad9af420915b4f (diff)
downloadspark-7589c39d39a8d0744fb689e5752ee8e0108a81eb.tar.gz
spark-7589c39d39a8d0744fb689e5752ee8e0108a81eb.tar.bz2
spark-7589c39d39a8d0744fb689e5752ee8e0108a81eb.zip
[SPARK-2924] remove default args to overloaded methods
Not supported in Scala 2.11. Split them into separate methods instead. Author: Anand Avati <avati@redhat.com> Closes #1704 from avati/SPARK-1812-default-args and squashes the following commits: 3e3924a [Anand Avati] SPARK-1812: Add Mima excludes for the broken ABI 901dfc7 [Anand Avati] SPARK-1812: core - Fix overloaded methods with default arguments 07f00af [Anand Avati] SPARK-1812: streaming - Fix overloaded methods with default arguments
Diffstat (limited to 'project')
-rw-r--r--project/MimaExcludes.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index 6e72035f2c..1e3c760b84 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -117,6 +117,9 @@ object MimaExcludes {
) ++
Seq( // new Vector methods in MLlib (binary compatible assuming users do not implement Vector)
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.mllib.linalg.Vector.copy")
+ ) ++
+ Seq ( // Scala 2.11 compatibility fix
+ ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.streaming.StreamingContext.<init>$default$2")
)
case v if v.startsWith("1.0") =>
Seq(