mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-24 23:19:30 +07:00
GitOrigin-RevId: eeafb5c598bc5b984e0599ffdd362337cf6b8c5a
12 lines
185 B
Java
12 lines
185 B
Java
// "Replace explicit type with 'var'" "true"
|
|
import java.util.*;
|
|
|
|
class X {
|
|
|
|
void x() {
|
|
var list = new ArrayList<String>() {{
|
|
add("one");
|
|
add("two");
|
|
}};
|
|
}
|
|
} |