Files
Tagir Valeev 04ec75869f [java-analysis] IDEA-299693 'Infer Nullity' . Should not infer Nullable for null->fail parameters
GitOrigin-RevId: ae146b13ef72fe38c9e22ad2e397d1fa6feae943
2022-08-18 20:52:04 +00:00

10 lines
192 B
Java

class Test {
public class Infer1 {
void perform(String s) {
if (s == null) {
throw new IllegalArgumentException();
}
System.out.println(s.length());
}
}
}