Commit Graph

4 Commits

Author SHA1 Message Date
Tagir Valeev
60a8572183 [java-inspections] OptionalAssignedToNull: avoid warning when Optional is received from Map.get (IDEA-292883)
GitOrigin-RevId: f41b21fa9d6588247aff0b3b4c8335ddfe74e7e9
2022-04-25 22:42:06 +00:00
Tagir Valeev
ebdeb0022a [java-inspections] OptionalAssignedToNull: use isEmpty() where possible (IDEA-292883)
GitOrigin-RevId: a172b73ecadc38331e448a5d7aa371b2780813ae
2022-04-25 11:44:17 +00:00
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