We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aab379 commit 6d4d3f1Copy full SHA for 6d4d3f1
core/src/test/scala/org/apache/spark/util/ClosureCleanerSuite2.scala
@@ -435,7 +435,7 @@ class ClosureCleanerSuite2 extends FunSuite with BeforeAndAfterAll with PrivateM
435
}
436
437
test("clean basic nested non-serializable closures") {
438
- def localSerializableMethod() = someSerializableValue
+ def localSerializableMethod(): Int = someSerializableValue
439
val localNonSerializableValue = someNonSerializableValue
440
// These closures ultimately reference the ClosureCleanerSuite2
441
// Note that even accessing `val` that is an instance variable involves a method call
0 commit comments