mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CFG inlining: IgnoreNullabilityOnPrimitiveCast.java test
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import foo.*;
|
||||
|
||||
class IgnoreNullabilityOnPrimitiveCast {
|
||||
private static int map(@Nullable int[] mapping, int idx) {
|
||||
return <warning descr="Array access 'mapping[idx]' may produce 'java.lang.NullPointerException'">mapping[idx]</warning>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user