Skip to content

Commit c90bba8

Browse files
author
Tijo Thomas
committed
Fixed compilation error in scala 2.11
1 parent 14502d5 commit c90bba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/org/apache/spark/rdd/RDDOperationScope.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private[spark] object RDDOperationScope {
111111
private[spark] def withScope[T](
112112
sc: SparkContext,
113113
name: String,
114-
allowNesting: Boolean = false)(body: => T): T = {
114+
allowNesting: Boolean)(body: => T): T = {
115115
// Save the old scope to restore it later
116116
val scopeKey = SparkContext.RDD_SCOPE_KEY
117117
val noOverrideKey = SparkContext.RDD_SCOPE_NO_OVERRIDE_KEY
@@ -134,4 +134,4 @@ private[spark] object RDDOperationScope {
134134
sc.setLocalProperty(noOverrideKey, oldNoOverride)
135135
}
136136
}
137-
}
137+
}

0 commit comments

Comments
 (0)