mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
add cast: don't unbox for null types (IDEA-193174)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Cast parameter to 'java.lang.Integer'" "true"
|
||||
class a {
|
||||
void m(Integer i){}
|
||||
void m(String s) {}
|
||||
void f() {
|
||||
m((Integer) null);
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Cast parameter to 'java.lang.Integer'" "true"
|
||||
class a {
|
||||
void m(Integer i){}
|
||||
void m(String s) {}
|
||||
void f() {
|
||||
m(<caret>null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user