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