mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
15 lines
305 B
Java
15 lines
305 B
Java
// "Replace with lambda" "true"
|
|
|
|
import java.util.function.Consumer;
|
|
|
|
class A {
|
|
void anonymousToLambda(String s) {
|
|
String s12 = "";
|
|
Consumer<String> consumer = new Consu<caret>mer<String>() {
|
|
@Override
|
|
public void accept(final String s) {
|
|
String s1 = "";
|
|
}
|
|
};
|
|
}
|
|
} |