Skip to content

Commit 5c6a0db

Browse files
authored
Merge pull request scala#7675 from smarter/remove-dead-code
Remove dead code in LambdaDeserializer
2 parents 5888c7d + 4593b12 commit 5c6a0db

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)