mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
10 lines
292 B
Java
10 lines
292 B
Java
// "Replace lambda expression with 'Function.identity()'" "false"
|
|
import java.io.Serializable;
|
|
import java.util.function.Function;
|
|
|
|
public class Main {
|
|
public static void main(String[] args) {
|
|
Function<Object, Object> fn = (Function<Object, Object> & Serializable) x <caret>-> x;
|
|
}
|
|
}
|