Skip to content

Wrong function conversion documentation #94

Open
@choedl

Description

@choedl

I think the documentation regarding function conversion is wrong (at least the java code example) and doesn't compile.

To convert a java function to a scala function (like in baz) I have to write the following:

import static scala.compat.java8.JFunction.*;
...
// instead of return bar(functionConverters.asScalaFromFunction(f)) -> where should functionConverters come from?
return bar(func(f)); 
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions