mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-27 22:02:56 +07:00
38f5055d00
though interface to implementation replacement may lead to implementation type propagation, anonymous type can't be propagated so it's safe to be used as var GitOrigin-RevId: cae306614efcb92551f2aa907f8d66e1bd2db930
9 lines
167 B
Java
9 lines
167 B
Java
// "Replace explicit type with 'var'" "true"
|
|
class MyTest {
|
|
private void m() {
|
|
var r = new Runnable() {
|
|
@Override
|
|
public void run() {}
|
|
};
|
|
}
|
|
} |