mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
13 lines
289 B
Java
13 lines
289 B
Java
// "Replace lambda with method reference" "false"
|
|
import java.io.PrintStream;
|
|
import java.util.function.BiConsumer;
|
|
|
|
class Test {
|
|
{
|
|
BiConsumer<PrintStream, String> printer = (printStream, x) -> get(printSt<caret>ream).println(x);
|
|
}
|
|
|
|
PrintStream get(PrintStream p) {return p;}
|
|
|
|
}
|