mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Java: Bugfix dispatch to lambda in call context.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import java.util.function.Function;
|
||||
|
||||
public class Processor<T> {
|
||||
|
||||
public <R> R process(Function<T,R> function, T arg) {
|
||||
return function.apply(arg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user