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
|
7e1064ea3c
|
[java-intentions] More preview tests; minor fixes
GitOrigin-RevId: 22a46c15d8900d8a31514846755a013f6a67ad42
|
2022-07-29 17:55:13 +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
|
21564bba7b
|
IDEA-163627 Simplify optional.isPresent() inspection could better handle some specific cases
IDEA-163462 Simplify Optional.isPresent() ? Optional.get() : ...
|
2016-11-07 17:23:00 +07:00 |
|
Tagir Valeev
|
355973cb56
|
IDEA-CR-13980: comments handling is simplified (they just extracted and placed before the condition)
|
2016-09-30 16:32:25 +07:00 |
|
Tagir Valeev
|
7e72d2fe9e
|
OptionalIsPresentInspection: simplify isRaw() and isOptionalLambdaCandidate(); fix getComments(); add more tests (IDEA-CR-13980)
|
2016-09-27 12:01:07 +07:00 |
|
Tagir Valeev
|
aadd111eda
|
IDEA-161420 Quick-fix to replace if(optional.isPresent()) with better alternatives
|
2016-09-21 15:41:20 +07:00 |
|