Commit Graph

3 Commits

Author SHA1 Message Date
Fabrice Tiercelin
1c9de6b4cf [java-inspections] IDEA-299573 Handle Optional.isEmpty() in "Non functional style Optional.isPresent() usage" inspection
PR#2100

Co-authored-by: Tagir Valeev <tagir.valeev@jetbrains.com>

GitOrigin-RevId: c0b8495f26bccf51c593deb6be927eb01c37d379
2022-08-10 18:04:05 +00:00
Tagir Valeev
0f7c78a5a6 IDEA-163991 ifPresent is not suggested when value is not used inside expression; OptionalIsPresentInspection uses CommentTracker now 2016-11-23 17:26:57 +07:00
Tagir Valeev
7e574d661c IDEA-163764 "Replace Optional.isPresent() checks with functional-style expressions" create uncompilable code
IDEA-163463 Stream API migration: type argument before map appears sometimes when it's unnecessary
2016-11-11 11:28:44 +07:00