blob: a5d10895ad71a439776dc9639ed3f07b6572d3c8 [file]
import java.util.*;
import java.util.concurrent.atomic.*;
// IDEA-183217
class Test {
private AtomicLong timeStamp;
private void method() {
if (timeStamp == null) {
timeStamp.<warning descr="Method invocation 'set' will produce 'NullPointerException'">set</warning>(Calendar.getInstance().getTimeInMillis()); // not reported
}
}
}