mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
8 lines
263 B
Java
8 lines
263 B
Java
// "Replace lambda expression with 'Function.identity()'" "true-preview"
|
|
import java.util.function.Function;
|
|
|
|
class Scratch {
|
|
public static void main(String[] args) {
|
|
Function<? super CharSequence, ? extends CharSequence> myFunc = Function.identity();
|
|
}
|
|
} |