Skip to content

Commit c2e83f7

Browse files
committed
Add type annotations in repo
1 parent fef0086 commit c2e83f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/runtime/ModuleSerializationProxy.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import java.security.PrivilegedExceptionAction
1818
import scala.annotation.nowarn
1919

2020
private[runtime] object ModuleSerializationProxy {
21-
private val instances = new ClassValueCompat[Object] {
21+
private val instances: ClassValueCompat[Object] = new ClassValueCompat[Object] {
2222
@nowarn("cat=deprecation") // AccessController is deprecated on JDK 17
2323
def getModule(cls: Class[_]): Object =
2424
java.security.AccessController.doPrivileged(

0 commit comments

Comments
 (0)