mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-08 21:06:52 +07:00
Fixes IDEA-276811 Replace-with-null refactoring is incorrect when generics are involved GitOrigin-RevId: 5783d19c4c5458ecb3c1e97ed11ff1d78a756793
9 lines
184 B
Java
9 lines
184 B
Java
// "Replace with 'null'" "true"
|
|
import java.util.stream.*;
|
|
|
|
class Test {
|
|
public static void method() {
|
|
Object obj = null;
|
|
Stream<Object> stream = Stream.of(<caret>obj);
|
|
}
|
|
} |