Commit Graph

4 Commits

Author SHA1 Message Date
Tagir Valeev
350eba5000 Optional compared with null: do not warn when subsequent isPresent check is found
IDEA-187578  Inspection to detect when Optional is compared with null
2018-03-09 19:30:59 +07:00
Tagir Valeev
a24ad7b268 OptionalAssignedToNull: added optional (sic!) warning on optional == null comparison
Fixes IDEA-187578 Inspection to detect when Optional is compared with null
2018-03-07 16:20:10 +07:00
Tagir Valeev
1db9b2fd3f OptionalAssignedToNullInspection: added assignment test 2017-03-02 09:49:30 +07:00
Tagir Valeev
1b3489639b IDEA-168633 Warn if variable of type java.util.Optional is initialized with null 2017-03-01 16:41:41 +07:00