mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
captured wildcard: convert to primitive (IDEA-151408)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
class Test {
|
||||
private void test(AtomicReference<? extends Boolean> atomic) {
|
||||
boolean val = !atomic.get();
|
||||
boolean val1 = atomic.get() && atomic.get();
|
||||
assert atomic.get();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user