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 76076d0 commit fd1a918Copy full SHA for fd1a918
webauthn-server-core/src/main/scala/com/yubico/scala/util/JavaConverters.scala
@@ -17,7 +17,9 @@ case class AsScalaOption[A](a: Optional[A]) {
17
}
18
19
case class AsJavaSupplier[A](a: () => A) {
20
- def asJava[B >: A]: Supplier[B] = () => a()
+ def asJava[B >: A]: Supplier[B] = new Supplier[B] {
21
+ override def get(): B = a()
22
+ }
23
24
25
object JavaConverters {
0 commit comments