3 Commits

Author SHA1 Message Date
Andrey.Cherkasov
108dc80b56 [java-intentions] ConvertSwitchToIf: fix the intention according a switch throws NPE if the selector expression is null
IDEA-300120

GitOrigin-RevId: 5d77f98e7931e32a06cb3c54076978d317f78a98
2022-08-17 23:14:53 +00:00
Tagir Valeev
8560c6a5d1 [java-inspections] More preview tests
GitOrigin-RevId: 571a82f66623887c1b5008963df842b2597c58c9
2022-07-27 10:00:31 +00:00
Tagir Valeev
7726f94f08 [java-inspections] Convert switch to if: respect precedence when generating .equals() call
Fixes EA-465575 - AE: JavaParserUtil.parseFragment

GitOrigin-RevId: 7a94ea5a231f0952d593e21857e8d89a27df2dd2
2022-03-09 14:15:19 +00:00