mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
10 lines
144 B
Java
10 lines
144 B
Java
public class ExprDeref {
|
|
Integer getBoxed() {
|
|
return 0;
|
|
}
|
|
|
|
int unboxBad(boolean b) {
|
|
return (b ? null : getBoxed()); // NPE
|
|
}
|
|
}
|