Conservatively disable warning on method call result if isPresent() with the same qualifier was observed (IDEA-CR-18052)

This commit is contained in:
Tagir Valeev
2017-02-13 15:25:22 +07:00
parent 3796ad1e31
commit 58a586ddc4
2 changed files with 27 additions and 7 deletions
@@ -265,7 +265,7 @@ class OptionalWithoutIsPresent {
opt2.get();
}
static final class Range {
class Range {
Optional<Integer> min = Optional.of(1);
Optional<Integer> max = Optional.of(2);