mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-23 10:14:50 +07:00
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
15 lines
313 B
Java
15 lines
313 B
Java
// "Replace with lambda" "true-preview"
|
|
|
|
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 = "";
|
|
}
|
|
};
|
|
}
|
|
} |