Skip to content

Commit 4593b12

Browse files
committed
Remove dead code in LambdaDeserializer
1 parent 63e8031 commit 4593b12

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/library/scala/runtime/LambdaDeserializer.scala

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,4 @@ object LambdaDeserializer {
116116
val captures = Array.tabulate(serialized.getCapturedArgCount)(n => serialized.getCapturedArg(n))
117117
factory.invokeWithArguments(captures: _*)
118118
}
119-
120-
private[this] val JavaIOSerializable = {
121-
// We could actually omit this marker interface as LambdaMetaFactory will add it if
122-
// the FLAG_SERIALIZABLE is set and of the provided markers extend it. But the code
123-
// is cleaner if we uniformly add a single marker, so I'm leaving it in place.
124-
"java.io.Serializable"
125-
}
126119
}

0 commit comments

Comments
 (0)