mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 07:57:19 +07:00
13 lines
352 B
Java
13 lines
352 B
Java
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
|
|
}
|
|
}
|
|
} |