Skip to content

Commit 6d4d3f1

Browse files
author
Andrew Or
committed
Fix scala style?
1 parent 4aab379 commit 6d4d3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/org/apache/spark/util/ClosureCleanerSuite2.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ class ClosureCleanerSuite2 extends FunSuite with BeforeAndAfterAll with PrivateM
435435
}
436436

437437
test("clean basic nested non-serializable closures") {
438-
def localSerializableMethod() = someSerializableValue
438+
def localSerializableMethod(): Int = someSerializableValue
439439
val localNonSerializableValue = someNonSerializableValue
440440
// These closures ultimately reference the ClosureCleanerSuite2
441441
// Note that even accessing `val` that is an instance variable involves a method call

0 commit comments

Comments
 (0)