mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 04:09:09 +07:00
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
177 B
Java
9 lines
177 B
Java
// "Replace explicit type with 'var'" "true"
|
|
class MyTest {
|
|
private void m() {
|
|
Ru<caret>nnable r = new Runnable() {
|
|
@Override
|
|
public void run() {}
|
|
};
|
|
}
|
|
} |